English
Language : 

UPD78F9500MA-CAC-A Datasheet, PDF (109/342 Pages) Renesas Technology Corp – 8-Bit Single-Chip Microcontrollers
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00 (μPD78F920x ONLY)
Figure 6-19. Control Register Settings for Pulse Width Measurement with Free-Running Counter
and One Capture Register (When TI000 and CR010 Are Used)
(a) Capture/compare control register 00 (CRC00)
7
6
5
4
3 CRC002 CRC001 CRC000
CRC00 0
0
0
0
0
1 0/1 0
CR000 used as compare register
CR010 used as capture register
(b) Prescaler mode register 00 (PRM00)
ES101 ES100 ES010 ES000 3
PRM00 0/1 0/1 1
1
0
2 PRM001 PRM000
0 0/1 0/1
Selects count clock (setting “11” is prohibited).
Specifies both edges 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
0
1 0/1 0
Free-running mode
Remark 0/1: Setting 0 or 1 allows another function to be used simultaneously with pulse width measurement.
See the description of the respective control registers for details.
Figure 6-20. Configuration Diagram for Pulse Width Measurement by Free-Running Counter
fXP
fXP/22
fXP/28
16-bit timer/counter 00
(TM00)
TI000/ANI0/
TOH1/P20
16-bit timer capture/compare
register 010 (CR010)
Internal bus
INTTM010
User’s Manual U18172EJ3V0UD
107