For Silicon Laboratories, Inc. C8051F016 — Timer 3
Simulation support for this peripheral or feature is comprised of:
- Dialog boxes which display and allow you to change peripheral configuration.
These simulation capabilities are described below.
Timer/Counter 3 Dialog
The Keil Debugger simulates all aspects of Timer/Counter 3. The
configuration is reflected in the Timer/Counter 3 Dialog that you may
open from the Peripherals Menu. You may use the controls in the
dialog to override the settings configured by your target program.
This allows you to learn how the timer/counter works by interactively
changing the configuration settings.
Mode settings select the size and auto-reload functions,
and select either Timer operation for Timer 3.
TMR3CN (Timer Control Register) holds the Interrupt,
mode and clock selections for Timer 3.
- T3 (Timer 3) holds the value of Timer 3.
TMR3RL (Timer 3 Reload) holds the 16-bit reload
TR3 (Timer 3 Run Control) is set to turn Timer 3 on, and
reset to turn it off.
T3M (Timer 3 Clock Select) is set to use the system
clock. If reset, the clock defined by the prescaler is used.
T3XCLK (External Clock Select) is set to use the
external clock. If reset, the system clock divided by 12 is
TF3 (Timer 3 Overflow Flag) is set when a Timer 3
TOE (Timer 3 Overflow Enable) is set to enable a timer