CHAPTER 9 TIMER/COUNTER FUNCTION
393
User’s Manual U15195EJ5V0UD
Figure 9-101. Cycle Measurement Operation Timing Example
t
0001H
0000H
0001H
0000H
FFFFH
D0
D1
D2
D3
D3
D2
D1
D0
(D1
−
D0)
×
t
(D3
−
D2)
×
t
{(10000H
−
D1) + D2}
×
t
Note
Count clock
TM3
register
INTP30
(input)
CC30
register
INTCC30
interrupt
INTTM3
interrupt
No overflow
Overflow occurs
No overflow
Count start
Clear
Note
When an overflow occurs once.
Remarks 1.
D0 to D3: TM3 register count values
t: Count clock cycle
2.
In this example, the valid edge of INTP30 input has been set to both edges (rising and falling).
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...