(With Rising Edge Specified); Timing Of Pulse Width Measurement Operation By Means Of Restart (With Rising Edge Specified) - NEC 78K0 User Manual

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

Advertisement

Figure 7-29. Control Register Settings for Pulse Width Measurement by Means of Restart
7
6
TMC0n
0
0
7
6
CRC0n
0
0
ES1n1
ES1n0
ES0n1
PRM0n
0/1
0/1
Figure 7-30. Timing of Pulse Width Measurement Operation by Means of Restart
Count clock
TM0n count value
TI00n pin input
CR01n capture value
CR00n capture value
INTTM01n
µ
Remark n = 0:
PD780143, 780144
µ
n = 0, 1:
PD780146, 780148, 78F0148
198
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01

(with Rising Edge Specified)

(a) 16-bit timer mode control register 0n (TMC0n)
5
4
TMC0n3
TMC0n2
TMC0n1
0
0
1
0
0/1
(b) Capture/compare control register 0n (CRC0n)
5
4
3
CRC0n2
CRC0n1
0
0
0
1
1
(c) Prescaler mode register 0n (PRM0n)
ES0n0
3
2
PRM0n1
0
1
0
0
0/1
(with Rising Edge Specified)
t
0000H
0001H
User's Manual U15947EJ2V0UD
OVF0n
0
Clears and starts at valid edge of TI00n pin.
CRC00n
1
CR00n used as capture register
Captures to CR00n at inverse edge to valid edge of TI00n.
CR01n used as capture register
PRM0n0
0/1
Selects count clock (setting "11" is prohibited).
*
Specifies rising edge for pulse width detection.
Setting invalid (setting "10" is prohibited.)
D0
0000H 0001H
D1
D0
D1
D1 × t
D2 × t
D2
0000H
0001H
D2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents