CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
368
User’s Manual U14492EJ3V0UD
Figure 9-72. Capture Operation: 32-Bit Cascade Operation Mode
(When CMSEx Register’s TByE1 Bit = 1, TByE0 Bit = 1, CCSEy Bit = 0,
LNKEy Bit = 0, BFEEy Bit = Arbitrary, EEVEy Bit = 1, and CSCE0
Register’s SEVEy Bit = 0)
f
CLK
CASC
Note 1
MUXTB0
MUXTB1
MUXCNT
ED1
CAPTURE_S
CAPTURE_P
READ_ENABLE_P
CVSEm0 register
CVPEm0 register
TCOUNTE0 =
TCOUNTE1
CNT (0)
CNT (1)
FFFEH
FFFFH
0000H
1235H
1234H
TB0
TB1
TB0
TB1
TB0
Undefined
Undefined
0000H
1235H
0001H
1235H
TB1
TB0
TB1
TB0
TB1
TB0
TB1
Note 2
Note 3
TB0
TB1
Enable the next capture
TB0
TB1
TB0
TB1
TB0
TB1
0001H
FFFEH 1234H FFFFH
FFFFH
FFFFH
1234H
1234H
0000H
1234H
1235H
0000H 1235H
0000H
0001H
0001H
0001H
1235H
1235H
1235H
Note 2
Note 3
Notes 1.
TM21 performs count operation when, in the 32-bit mode, CASC (CNT = MAX. for TM20) is input to
TM21 and the rising edge of CTC is detected.
2.
If an event occurs during this timing, it is ignored.
3.
CPU read access is not performed in this timing (wait status).
Remarks 1.
f
CLK
: Base clock
2.
CAPTURE_P: Capture trigger signal of main capture register
CAPTURE_S: Capture trigger signal of sub capture register
CASC: TM21 count signal in 32-bit mode
CNT: Count value of timer 2
ED1: Capture event signal input from edge selector
MUXCNT: Count value to sub-channel m
MUXTB0, MUXTB1: Multiplex signal of TM20, TM21
READ_ENABLE_P: Read timing of CVPEm0 register
TB0: Count value of TM20
TB1: Count value of TM21
TCOUNTE0, TCOUNTE1: Count enable signal input of timer 2
3.
m = 1 to 4, x = 12, 34
y: When x = 12, y = 1, 2, and when x = 34, y = 3, 4