Keil Logo

Peripheral Simulation

For Silicon Laboratories, Inc. C8051T616 — 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

Timer/Counter 3

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.

Timer 3

  • 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 value.
  • 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 used.

IRQ

  • TF3 (Timer 3 Overflow Flag) is set when a Timer 3 overflow occurs.

Reload

  • TOE (Timer 3 Overflow Enable) is set to enable a timer overflow.
Get more information about the
Peripheral Simulation Capabilities
of the µVision Debugger.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.