![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_285.png)
11.4
11.4.4 16-bit reload register (TMRLR0, TMRLR1)
16-Bit Reload Timer Registers
MB90560 series
CHAPTER 11 16-BIT RELOAD TIMER
261
The 16-bit reload register (TMRLR0, TMRLR1) sets a reload value in the 16-bit down
counter. The value written to this register is loaded into the down counter, and the
down counter starts with this value.
I
16-bit reload register (TMRLR0, TMRLR1)
Figure 11.4-5 shows the 16-bit reload registers (TMRLR0, TMRLR1).
Figure 11.4-5 16-bit reload register (TMRLR0, TMRLR1)
The initial value of the counter is set in this register when counting is disabled (TMCSR: CNTE =
0), regardless of the operating mode of the 16-bit reload timer. When counting is enabled
(TMCSR: CNTE = 1) and the counter is started, counting down starts from the value written to
this register.
In reload mode, the value set in the 16-bit reload register (TMRLR) is reloaded into the counter
when an underflow occurs, and counting down continues. In single-shot mode, the counter stops
at FFFF
H
when an underflow occurs.
<Check>
Write a value to this register in the counter stop (TMCSR: CNTE = 0) state. Also, always
use a word transfer instruction (MOVW 0084H,A etc.) to write a value to this register.
Although the 16-bit reload register (TMRLR) is functionally a write-only register, it is
allocated to the same address as one of the read-only 16-bit timer registers (TMR).
Accordingly, since the read value is used as the TMR value, the INC/DEC instruction and
other instructions for read-modify-write (RMW) operations cannot be used.
Address
Initial value
Initial value
Address
W: Write only
X: Undefined
000085
H
000089
H
000084
H
000088
H