MC97F2664
132
April 11, 2014 Ver. 1.4
TnCR (Timer n Control Register) : B2H/B5H/BAH/BDH, n=0, 1, 2, and 3
7
6
5
4
3
2
1
0
TnEN
–
TnMS1
TnMS0
TnCK2
TnCK1
TnCK0
TnCC
R/W
–
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
TnEN
Control Timer n
0
Timer n disable
1
Timer n enable
TnMS[1:0]
Control Timer n Operation Mode
TnMS1 TnMS0 Description
0
0
Timer/counter mode
0
1
PWM mode
1
x
Capture mode
TnCK[2:0]
Select Timer n clock source. fx is a system clock frequency
TnCK2
TnCK1 TnCK0 Description
0
0
0
fx/2
0
0
1
fx/4
0
1
0
fx/8
0
1
1
fx/32
1
0
0
fx/128
1
0
1
fx/512
1
1
0
fx/2048
1
1
1
External Clock (ECn)
TnCC
Clear timer n Counter
0
No effect
1
Clear the Timer n counter (When write, automatically cleared
“0” after being cleared counter)
NOTES) 1. Match Interrupt is generated in Capture mode.
2. Refer to the timer interrupt flag register (TIFLAG0) for the T0/1/2/3 interrupt flags.
Содержание MC97F2664
Страница 20: ...MC97F2664 20 April 11 2014 Ver 1 4 4 Package Diagram Figure 4 1 64 Pin LQFP 1010 Package...
Страница 21: ...MC97F2664 April 11 2014 Ver 1 4 21 Figure 4 2 64 Pin LQFP 1414 Package...
Страница 22: ...MC97F2664 22 April 11 2014 Ver 1 4 Figure 4 3 64 Pin QFN Package...
Страница 23: ...MC97F2664 April 11 2014 Ver 1 4 23 Figure 4 4 44 Pin MQFP 1010 Package...