Chapter 11 Enhanced Capture Timer (S12MC9S12XDP51216B8CV2)
MC9S12XDP512 Data Sheet, Rev. 2.11
550 Freescale Semiconductor
Figure 11-66. Detailed Timer Block Diagram in Latch Mode when PRNT = 1
16 BIT MAIN TIMER
P1
Comparator
TC0H Hold Reg.
P0
P3
P2
P4
P5
P6
P7
EDG0
EDG1
EDG2
EDG3
MUX
Modulus Prescaler
Bus Clock
16-Bit Load Register
16-Bit Modulus
0RESET
EDG0
EDG1
EDG2
EDG4
EDG5
EDG3
EDG6
EDG7
÷ 1, 2,3, ..., 256
16-Bit Free-Running
LATCH
Underflow
Main Timer
Timer Prescaler
TC0 Capture/Compare Reg.
Comparator
TC1 Capture/Compare Reg.
Comparator
TC2 Capture/Compare Reg.
Comparator
TC3 Capture/Compare Reg.
Comparator
TC4 Capture/Compare Reg.
Comparator
TC5 Capture/Compare Reg.
Comparator
TC6 Capture/Compare Reg.
Comparator
TC7 Capture/Compare Reg.
Pin Logic
Pin Logic
Pin Logic
Pin Logic
Pin Logic
Pin Logic
Pin Logic
Pin Logic
Delay
TC1H Hold Reg.
TC2H Hold Reg.
TC3H Hold Reg.
MUX
MUX
MUX
PA0H Hold Reg.
PAC0
0RESET
PA1H Hold Reg.
PAC1
0RESET
PA2H Hold Reg.
PAC2
0RESET
PA3H Hold Reg.
PAC3
Write 0x0000
to Modulus Counter
ICLAT, LATQ, BUFEN
(Force Latch)
LATQ
(MDC Latch Enable)
Down Counter
SH04
SH15
SH26
SH37
Bus Clock
÷ 1, 2,3, ..., 256
Counter
Delay
Counter
Delay
Counter
Delay
Counter
8, 12, 16, ..., 1024
8, 12, 16, ..., 1024
8, 12, 16, ..., 1024
8, 12, 16, ..., 1024