CHAPTER 10 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
User’s Manual U14359EJ4V0UM
347
Figure 10-12. Cycle Measurement Operation Timing Example
0001H
0000H
0001H
0000H
FFFFH
D0
D1
D2
D3
D3
D2
D1
D0
(D1
−
D0)
×
t
(D3
−
D2)
×
t
{(10000H
−
D1) + D2}
×
t
Note
t
Count
clock
TMCn
register
INTP0n0
(input)
CCCn0
register
INTM0n0
interrupt
INTOV0n
interrupt
No overflow
Overflow occurs
No overflow
Clear
Count start
Note
When an overflow is generated once.
Remarks 1.
D0 to D3: TMCn register count values
t: Count clock cycle
2.
In this example, the valid edge of the INTP0n0 input has been set to both edges (rising and
falling).
3.
n = 0 to 3
Содержание V850E/MA1
Страница 2: ...2 User s Manual U14359EJ4V0UM MEMO...