336
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
(b) Example: Capture where both edges of TIGm are valid (match and clear)
For the timing chart TMGn0 is selected as the counter corresponding to TOGn1, and 0FFFH is set
in GCCn0.
Figure 10-50:
Timing when both edges of TIGm are valid (match and clear)
Remark:
The figure above shows an image. In actual circuitry, 3 to 4 periods of the count-up signal
(f
COUNT
) are required from the input of a waveform to TOGn1 until a capture interrupt is
output. (See Figure 10-42, “Timing of capture trigger edge detection (free run),” on page
327.)
Caution:
If two or more match and clear events occur between captures, a software-based
measure needs to be taken to count INTCCGn0 or INTCCGn5.
(c) When 0000H is set in GCCn0 or GCCn5 (match and clear)
When 0000H is set in GCCn0 (GCCn5), the value of the counter is fixed at 0000H, and does not
operate. Moreover, INTCCGn0 (INTCCGn5) continues to be active.
(d) When FFFFH is set in GCCn0 or GCCn5 (match and clear)
When FFFFH is set in GCCn0 (GCCn5), operation equivalent to the free-run mode is performed.
When an overflow occurs, INTTMGn0 (INTTMGn1) is generated, but INTCCGn0 (INTCCGn5) is
not generated.
0000H 0001H
D0
D1
TMGn0
D0
GCCn1
Count start
t
0FFFH 0000H
D2
D3
TIGn1
D1
D2
D3
Clear
INTCCGn1
INTCCGn0
No "match and clear"
No "match and clear"
"Match and clear"
CCFG1
f
PCLK
f
COUNTx
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......