![IXYS zilog Z51F6412 Скачать руководство пользователя страница 74](http://html1.mh-extra.com/html/ixys/zilog-z51f6412/zilog-z51f6412_manual_2098946074.webp)
Z51F6412
Product Specification
PS030302-0212
P R E L I M I N A R Y
71
11.5.1.2 8 Bit Timer/Counter Mode
The 8-bit Timer/Counter Mode is selected by control registers as shown in Figure 11-6.
The two 8-bit timers have each counter and data register. The counter register is increased by
internal or external clock input. The timer 0 can use the input clock with 2, 4, 8, 32, 128, 512, 2048
prescaler division rates (T0CK[2:0]). The timer 1 can use the input clock with 1, 2, 8 and timer 0
overflow clock (T1CK[1:0]). When the value of T0, 1value and the value of T0DR, T1DR are
respectively identical in Timer 0, 1, the interrupt of timer P2, 3 occurs. The external clock (EC0)
counts up the timer at the rising edge. If EC0 is selected from T0CK[2:0], EC0 port becomes input port.
The timer 1 can’t use the external EC0 clock.
÷4096
÷1024
÷256
P
r
e
s
c
a
l
e
r
MUX
÷2
÷4
÷16
÷64
EC0
SCLK
MUX
÷1
÷2
÷16
[B3
H
]
T0IF
Timer0
Interrup
t
8-bit Timer0 Counter
T0(8-bit)
8-bit Timer2 Data Register
T0DR(8-bit)
F/F
P52/T0
T0EN
Clear
[B3
H
]
Comparator
T0ST
[B5
H
]
T1IF
Timer1
Interrupt
8-bit Timer1 Counter
T1(8-bit)
8-bit Timer1 Data Register
T1DR(8-bit)
F/F
P53/T1
T1CN
Clear
[B6
H
]
Comparator
T1ST
POL1
16BIT PWM1E
CAP1
T1CK1
T1CK0
T1CN
T1ST
T0EN
T0PE
CAP0
T0CK2
T0CK1
T0CK0
T0CN
T0ST
T1CR
T0CR
1
X
0
X X X X X
X
0
0
0
X X X X
ADDRESS : B2
H
INITIAL VALUE : 0000_0000
B
ADDRESS : B4
H
INITIAL VALUE : 0000_0000
B
T0CK[2:0]
3
T1CK[1:0]
2
Figure 11-6 Bit Timer/Event Counter2, 3 Block Diagram