Keil Logo

Peripheral Simulation

For Atmel AT91SAM7X128 — Real-time Timer

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.

Real-time Timer Dialog

Real-time Timer

The Real-time Timer Dialog shows the current state of the on-chip Real-time Timer. You can change Real-time Timer settings using the controls in this dialog.

Mode

  • RTT_MR (Mode Register) holds the parameters that control the timer. They are:
  • RTPRES (Real-time Prescaler Value) holds the number of SCLK periods (16-bits) required to increment the real-time timer.
  • RTTRST (Real-time Timer Restart) reloads and restarts the clock divider with a the new programmed value, and resets the 32-bit counter.
  • RTTINCIEN (Real-time Timer Increment Interrupt Enable) allows the RTTINC bit to trigger an interrupt.
  • ALMIEN (Alarm Interrupt Enable) allows the ALMS bit to trigger an interrupt.

Alarm

  • RTT_AR (Alarm Register) holds the ALMV value.
  • ALMV (Alarm Value) defined the 32-bit alarm value compared to the Real-time Timer.

Value

  • RTT_VR (Value Register) holds the CRTV value.
  • CRTV (Current Real-time Value) displays the current 32-bit real-time value.

Status

  • RTT_SR (Status Register) holds the ALMS and the RTCINC values.
  • ALMS (Real-time Alarm Status) is set if an alarm has occurred since the last read of RTT_SR.
  • RTCINC (Real-time Timer Increment) is set if the Real-time Timer has been incremented since the last read of RTT_SR.
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.