Keil Logo

Peripheral Simulation

For Analog Devices ADuC7021 — Timer 2 (Wake-Up)

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 2 Dialog

Timer 2

The Keil Debugger simulates all aspects of Timer 2. The configuration is reflected in the Timer 2 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 works by interactively changing the configuration settings.

Timer Values Group

  • T2LD (Timer 2 Load Register) contains the 16-bit value to be re-loaded into the timer when is reaches zero.
  • T2VAL (Timer 2 Value Register) current timer value.

Timer Control Group

  • T2CON (Timer 2 Control Register) is used to start and control Timer 2.
  • Prescale contains the value used to scale the clock frequency (1, 16, 256 or 32768).
  • Format (Timer 2 Format) selects the format of the counter. It can be in either binary or hh:mm:ss:uu formats.
  • Count Up is set to count up or reset to count down.
  • Mode is set for periodic mode or reset for free-running mode.
  • Enable (Timer 2 Enable) is set to enable Timer 2.

Timer Interrupt Clear Group

  • T2CLRI (Timer 2 Interrupt Clear) is set to a non-zero value to clear the Timer 2 interrupt.
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.