Configuration Diagram For Pulse Width Measurement With Free-Running Counter; And One Capture Register (With Both Edges Specified) - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

Figure 7-23. Configuration Diagram for Pulse Width Measurement with Free-Running Counter
f
(f
X
X
2
4
f
/2
(f
/2
X
X
8
6
f
/2
(f
/2
X
X
TI00n
Note Frequencies without parentheses are for 16-bit timer/event counter 00, and those in parentheses are for 16-
bit timer/event counter 01.
Figure 7-24. Timing of Pulse Width Measurement Operation with Free-Running Counter
t
Count clock
0000H
TM0n count value
TI00n pin input
CR01n capture value
INTTM01n
OVF0n
Note Clear OVF0n by software.
µ
Remark n = 0:
PD780143, 780144
µ
n = 0, 1:
PD780146, 780148, 78F0148
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Note
)
Note
)
Note
)
16-bit timer capture/compare
register 01n (CR01n)

and One Capture Register (with Both Edges Specified)

0001H
D0
D0 + 1
D0
(D1 − D0) × t
User's Manual U15947EJ2V0UD
16-bit timer counter 0n
(TM0n)
Internal bus
*
D1
D1 + 1
FFFFH
0000H
D1
(10000H − D1 + D2) × t
OVF0n
INTTM01n
D2
D3
D2
D3
Note
(D3 − D2) × t
193

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents