eZ80L92 MCU
Product Specification
79
Table 29. PRT SINGLE PASS Mode Operation Example
Parameter
Control Register(s)
TMRx_CTL[0]
TMRx_CTL[1]
TMRx_CTL[3:2]
TMRx_CTL[4]
TMRx_CTL[6]
Value
PRT Enabled
1
1
Reload and Restart Enabled
PRT Clock Divider = 4
SINGLE PASS Mode
PRT Interrupt Enabled
PRT Reload Value
00b
0
1
{TMRx_RR_H, TMRx_RR_L}
0004h
CONTINUOUS Mode
In CONTINUOUS mode, when the end-of-count value, 0000h, is reached, the timer
automatically reloads the 16-bit start value from the Timer Reload registers,
TMRx_RR_H and TMRx_RR_L. Downcounting continues on the next clock edge. In
CONTINUOUS mode, the PRT continues to count until disabled. An example of a PRT
operating in CONTINUOUS mode is illustrated in Figure 20. Timer register information
is indicated in Table 30.
CLK
CLKEN
IOWRN
t
t
7:0]
7:0]
0
2
CNTH
CNTL
0
4
3
1
4
IRQ
Figure 20. PRT CONTINUOUS Mode Operation Example
PS013015-0316
Programmable Reload Timers