NEC 78K0 User Manual page 147

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

Advertisement

Figure 6-24. Control Register Settings for Pulse Width Measurement by Means of Restart
7
6
5
TMC00
0
0
0
7
6
5
CRC00
0
0
0
ES101
ES100
ES001
PRM00
0/1
0/1
0
Figure 6-25. Timing of Pulse Width Measurement Operation by Means of Restart
(with Rising Edge Specified)
Count clock
TM00 count value
TI000 pin input
CR010 capture value
CR000 capture value
INTTM010
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
(with Rising Edge Specified)
(a) 16-bit timer mode control register 00 (TMC00)
4
TMC003
TMC002
TMC001
OVF00
0
1
0
0/1
(b) Capture/compare control register 00 (CRC00)
4
3
CRC002
CRC001
CRC000
0
0
1
1
(c) Prescaler mode register 00 (PRM00)
ES000
3
2
PRM001
PRM000
1
0
0
0/1
t
0000H
0001H
D0
User's Manual U16227EJ2V0UD
0
Clears and starts at valid edge of TI000 pin.
1
CR000 used as capture register
Captures to CR000 at inverse edge to valid edge of TI000.
CR010 used as capture register
0/1
Selects count clock (setting "11" is prohibited).
Specifies rising edge for pulse width detection.
Setting invalid (setting "10" is prohibited.)
0000H 0001H
D1
D2
D0
D1
D1 × t
D2 × t
0000H
0001H
D2
147

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents