106
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
11.5.2.2
8-bit Timer/Counter Mode
The 8-bit Timer/Counter Mode is selected by control registers as shown in Figure 11.26.
Figure 11.26
8-bit Timer/Event Counter2, 3 Block Diagram
The two 8-bit timers have each counter and data register. The counter register is increased by internal or external
clock input. The timer 2 can use the input clock with 2, 4, 16, 64, 256, 1024, 4096 prescaler division rates (T2CK[2:0]).
The timer 3 can use the input clock with 1, 2, 16 and timer 2 overflow clock (T3CK[1:0]). When the value of T2, 3value
and the value of T2DR, T3DR are respectively identical in Timer 2, 3, the interrupt of timer T2, 3 occurs. The external
clock (EC2) counts up the timer at the rising edge. If EC2 is selected from T2CK[2:0], EC2 port becomes input port.
The timer 3 can’t use the external EC clock.
÷
4096
÷
1024
÷
256
P
r
e
s
c
a
l
e
r
MUX
÷
2
÷
4
÷16
÷64
EC2
fx
MUX
÷
1
÷
2
÷
16
[C7
H
]
T2IF
Timer2
Interrupt
8-bit Timer2 Counter
T2(8-bit)
8-bit Timer2 Data Register
T2DR(8-bit)
F/F
P02/T2
T2CN
Clear
[C7
H
]
Comparator
T0ST
[CB
H
]
T3IF
Timer3
Interrupt
8-bit Timer3 Counter
T3(8-bit)
8-bit Timer3 Data Register
T3DR(8-bit)
F/F
P16/T3
T3CN
Clear
[CC
H
]
Comparator
T3ST
POL3
16BIT PWM3E CAP3 T3CK1 T3CK0 T3CN
T3ST
T2EN
T2PE
CAP2 T2CK2 T2CK1 T2CK0 T2CN
T2ST
T3CR
T2CR
1
X
0
X
X
X
X
X
X
0
0
0
X
X
X
X
ADDRESS : C6
H
INITIAL VALUE : 0000_0000
B
ADDRESS : CA
H
INITIAL VALUE : 0000_0000
B
T2CK[2:0]
3
T1CK[1:0]
2
Содержание MC95FG208 Series
Страница 14: ...14 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 32 Pin SOP Package...
Страница 15: ...15 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 2 32 Pin QFN Package...
Страница 16: ...16 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package...
Страница 17: ...17 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 18: ...18 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package continue...
Страница 19: ...19 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 6 28 Pin SOP Package...
Страница 20: ...20 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 7 28 Pin TSSOP Package...
Страница 21: ...21 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 8 20 Pin SOP Package...
Страница 22: ...22 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 9 20 Pin TSSOP Package...
Страница 23: ...23 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 10 16 Pin SOP Package...
Страница 24: ...24 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 11 16 Pin TSSOP Package...