NEC UPD703116 User Manual page 397

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 9-101. Cycle Measurement Operation Timing Example
t
Count
clock
TM3
0000H
0001H
register
Count start
INTP30
(input)
CC30
register
INTCC30
interrupt
INTTM3
interrupt
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).
CHAPTER 9 TIMER/COUNTER FUNCTION
D0
D1
D0
(D1 – D0) × t
{(10000H – D1) + D2} × t
No overflow
User's Manual U14492EJ5V0UD
FFFFH
0000H
0001H
D2
Clear
D1
Note
Overflow occurs
D3
D2
D3
(D3 – D2) × t
No overflow
397

Advertisement

Table of Contents
loading

Table of Contents