CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U18172EJ2V0UD
113
Figure 6-35. Control Register Settings for One-Shot Pulse Output with External Trigger
(with Rising Edge Specified)
(a) Prescaler mode register 00 (PRM00)
0/1
0/1
0
1
PRM00
PRM001
PRM000
Selects count clock
(setting “11” is prohibited).
Specifies the rising edge
for pulse width detection.
0/1
0/1
ES110
ES100
ES010
ES000
Setting invalid
(setting “10” is prohibited.)
0
0
3
2
(b) Capture/compare control register 00 (CRC00)
0
0
0
0
0
7
6
5
4
3
CRC00
CRC002 CRC001
CRC000
CR000 used as compare register
CR010 used as compare register
0
0/1
0
(c) 16-bit timer output control register 00 (TOC00)
0
7
0
1
1
0/1
TOC00
LVR00
TOC001
TOE00
OSPE00
OSPT00
TOC004
LVS00
Enables TO00 output.
Inverts output upon match
between TM00 and CR000.
Specifies initial value of
TO00 output F/F (setting “11” is prohibited.)
Inverts output upon match
between TM00 and CR010.
Sets one-shot pulse output mode.
0/1
1
1
(d) 16-bit timer mode control register 00 (TMC00)
0
0
0
0
7
6
5
4
1
TMC003
TMC00
TMC002 TMC001
OVF00
Clears and starts at
valid edge of TI000 pin.
0
0
0
Caution Do not set 0000H to the CR000 and CR010 registers.