The following EQUates specify how the RTX51 Tiny hardware timer is
configured.
INT_REGBANK specifies the register bank used by the
RTX51 Tiny Timer Interrupt. The default setting is 1 (for register
bank 1).
INT_CLOCK specifies the number of cycles before the
timer generates an interrupt. This number may be a value from
1000-65535. Small numbers generate faster interrupts. This number
is used to calculate the reload value for the timer
(65536-INT_CLOCK). The default setting is 10000.
HW_TIMER_CODE is a macro that instructs code to execute at
the end of the RTX51 Tiny Timer Tick Interrupt. The default
setting for this macro is to return from the interrupt (RETI).
For example:
HW_TIMER_CODE MACRO ; Empty Macro by default
RETI
ENDM
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.