English
Language : 

EZ80F91MCU Datasheet, PDF (149/396 Pages) Zilog, Inc. – eZ80Acclaim-TM Flash Microcontrollers
eZ80F91 MCU
Product Specification
130
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
and the timer continues to count until disabled. An example of the timer operating
in CONTINUOUS mode is illustrated in Figure 27. Timer register information is
indicated in Table 51.
System Clock
Clock Enable
TMR3_CTL Write
(Timer Enable)
T3 Count
X
4
3
2
1
4
3
2
1
Interrupt
Request
Figure 27. Example: PRT CONTINUOUS Mode Operation
Table 51. Example : PRT CONTINUOUS Mode Parameters
Parameter
Timer Enable
Reload
Prescaler Divider = 4
CONTINUOUS Mode
End of Count Interrupt Enable
Timer Reload Value
Control Register(s)
TMRx_CTL[TIM_EN]
TMRx_CTL[RLD]
TMRx_CTL[CLK_DIV]
TMRx_CTL[TIM_CONT]
TMRx_IER[IRQ_EOC_EN]
{TMRx_RR_H, TMRx_RR_L}
Value
1
1
00b
1
1
0004h
Timer Interrupts
The terminal count flag, TMRx_IIR[EOC], is set to 1 whenever the timer reaches
0000h, its end-of-count value in SINGLE PASS mode, or when the timer reloads
the start value in CONTINUOUS mode. The terminal count flag is only set when
the timer reaches 0000h (or reloads) from 0001h. The timer interrupt flag is not set
PS019209-0504
PRELIMINARY
Programmable Reload Timers