CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
User’s Manual U16899EJ2V0UD
175
Figure 6-38. Control Register Settings for One-Shot Pulse Output with External Trigger
(with Rising Edge Specified)
(a) 16-bit timer mode control register 0n (TMC0n)
0
0
0
0
7
6
5
4
1
TMC0n3
TMC0n
TMC0n2 TMC0n1
OVF0n
Clears and starts at
valid edge of TI00n pin.
0
0
0
(b) Capture/compare control register 0n (CRC0n)
0
0
0
0
0
7
6
5
4
3
CRC0n
CRC0n2 CRC0n1
CRC0n0
CR00n used as compare register
CR01n used as compare register
0
0/1
0
(c) 16-bit timer output control register 0n (TOC0n)
0
7
0
1
1
0/1
TOC0n
LVR0n
TOC0n1
TOE0n
OSPE0n
OSPT0n
TOC0n4
LVS0n
Enables TO0n output.
Inverts output upon match
between TM0n and CR00n.
Specifies initial value of
TO0n output F/F (setting “11” is prohibited.)
Inverts output upon match
between TM0n and CR01n.
Sets one-shot pulse output mode.
0/1
1
1
(d) Prescaler mode register 0n (PRM0n)
0/1
0/1
0
1
PRM0n
PRM0n1
PRM0n0
Selects count clock
(setting “11” is prohibited).
Specifies the rising edge
for pulse width detection.
0/1
0/1
ES1n1
ES1n0
ES0n1
ES0n0
Setting invalid
(setting “10” is prohibited.)
0
0
3
2
Caution Do not set the CR00n and CR01n registers to 0000H.
Remark n = 0:
µ
PD78F0132H
n = 0, 1:
µ
PD78F0133H, 78F0134H, 78F0136H, 78F0138H, 78F0138HD