English
Language : 

UPD78F9234MC-5A4-A Datasheet, PDF (113/419 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Figure 6-25. Control Register Settings for Pulse Width Measurement by Means of Restart
(with Rising Edge Specified)
(a) Capture/compare control register 00 (CRC00)
7
6
5
4
3 CRC002 CRC001 CRC000
CRC00 0
0
0
0
0
1
1
1
CR000 used as capture register
Captures to CR000 at inverse edge to valid edge of TI000Note.
CR010 used as capture register
(b) Prescaler mode register 00 (PRM00)
ES110 ES100 ES010 ES000 3
PRM00 0/1 0/1 0
1
0
2 PRM001 PRM000
0 0/1 0/1
Selects count clock (setting “11” is prohibited).
Specifies rising edge for pulse width detection.
Setting invalid (setting “10” is prohibited.)
(c) 16-bit timer mode control register 00 (TMC00)
7
6
5
4 TMC003 TMC002 TMC001 OVF00
TMC00 0
0
0
0
1
0 0/1 0
Clears and starts at valid edge of TI000 pin.
Note If the valid edge of the TI000 pin is specified to be both the rising and falling edges, 16-bit timer
capture/compare register 000 (CR000) cannot perform the capture operation.
Figure 6-26. Timing of Pulse Width Measurement Operation by Means of Restart
(with Rising Edge Specified)
t
Count clock
TM00 count value
TI000 pin input
CR010 capture value
CR000 capture value
INTTM010
0000H 0001H
D0 0000H 0001H D1
D2 0000H 0001H
D0
D2
D1
(D1 + 1) × t
(D2 + 1) × t
User’s Manual U17446EJ5V0UD
111