MC96FM204/FM214
April 7, 2016 Ver. 1.8
103
T2MS[1:0]
T2POL
A Match
T2CC
T2EN
P
r
e
s
c
a
l
e
r
fx
M
U
X
fx/2
fx/4
fx/64
fx/512
fx/2048
fx/8
fx/1
16-bit Counter
T2CNTH/T2CNTL
Clear
Edge
Detector
T2ECE
EC2
Comparator
16-bit A Data Register
T2ADRH/T2ADRL
T2IFR
INT_ACK
Clear
To interrupt
block
A Match
Buffer Register A
Reload
Pulse
Generator
T2O
R
T2EN
3
T2CK[2:0]
2
A Match
T2CC
T2EN
T2EN
T2CRH
1
ADDRESS:C3H
INITIAL VALUE : 0000_0000B
–
T2MS1
T2MS0
–
–
–
T2CC
–
0
0
–
–
–
X
T2CK2
T2CRL
X
ADDRESS:C2H
INITIAL VALUE : 0000_0000B
T2CK1
T2CK0
T2IFR
–
T2POL
T2ECE T2CNTR
X
X
X
–
X
X
X
Figure 11.16 16-Bit Timer/Counter Mode for Timer 2
Figure 11.17 16-Bit Timer/Counter 2 Example
T2CNTH/L
Value
Timer 2
(T2IFR)
Interrupt
TIME
1
2
3
4
5
6
n-2
n-1
n
Interrupt Period
= P
CP
x (n+1)
0
Count Pulse Period
P
CP
Up-count
Match with T2ADRH/L
Occur
Interrupt
Occur
Interrupt
Occur
Interrupt
Summary of Contents for MC96FM204
Page 17: ...MC96FM204 FM214 April 7 2016 Ver 1 8 17 4 Package Diagram Figure 4 1 20 Pin SOP Package ...
Page 18: ...MC96FM204 FM214 18 April 7 2016 Ver 1 8 Figure 4 2 20 Pin TSSOP Package ...
Page 19: ...MC96FM204 FM214 April 7 2016 Ver 1 8 19 Figure 4 3 16 Pin SOP Package ...
Page 20: ...MC96FM204 FM214 20 April 7 2016 Ver 1 8 Figure 4 4 16 Pin TSSOP Package ...