English
Language : 

Z51F0410 Datasheet, PDF (85/184 Pages) Zilog, Inc. – Z8051 Series 8-Bit Microcontrollers
Z51F0410
Product Specification
T0DR/T1DR
Value
Timer 0, 1
(T0IF, T1IF)
Interrupt
Match with T0DR/T1DR
n
n-1
n-2
Up-count 6
5
4
3
2
1
0
Interrupt Period
= PCP x (n+1)
Count Pulse Period
PCP
Interrupt
Occurs
Interrupt
Occurs
Figure 4.7 Timer/Event Counter0, 1 Example
TIME
Interrupt
Occurs
T0DR/T1DR
Value
Clear&Start
STOP
Disable
Enable
Up-count
Timer 0, 1
(T0IF, T1IF)
Interrupt
T0ST, T1ST
Start&Stop
T0CN, T1CN
Control
count
TIME
Interrupt
Occurs
T0ST,T1ST = 1
T0ST,T1ST = 1
T0ST,T1ST = 0
Interrupt
Occurs
T0CN,T1CN = 1
T0CN,T1CN = 1
T0CN,T1CN = 0
Figure 4.8 Operation Example of Timer/Event Counter0, 1
4.5.1.3 16-Bit Timer/Counter Mode
The timer register is being run with all 16bits. A 16-bit timer/counter register T0, T1 are incremented
from 0000H to FFFFH until it matches T0DR, T1DR and then resets to 0000H. The match output
generates the Timer 0 interrupt ( no timer 1 interrupt). The clock source is selected from T0CK[2:0]
and T1CK[1:0] must set 11b and 16BIT bit must set to ‘1’. The timer 0 is LSB 8-bit, the timer 1 is MSB
8-bit. The 16-bit mode setting is shown as Figure 4.9.
PS029502-0212
PRELIMINARY
82