Datasheet

CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00 (
μ
PD78F920x ONLY)
User’s Manual U18172EJ3V0UD
120
Figure 6-33. Control Register Settings for One-Shot Pulse Output with Software Trigger
(a) Prescaler mode register 00 (PRM00)
0/1 0/1 0/1 0/1 0
PRM00
PRM001 PRM010
Selects count clock.
Setting invalid
(setting “10” is prohibited.)
0 0/1 0/1
ES110 ES100 ES010 ES000
Setting invalid
(setting “10” is prohibited.)
32
(b) Capture/compare control register 00 (CRC00)
00000
76543
CRC00
CRC002 CRC001 CRC000
CR000 as compare register
CR010 as compare register
0 0/1 0
(c) 16-bit timer output control register 00 (TOC00)
0
7
0 1 1 0/1
TOC00
LVR00LVS00TOC004OSPE00OSPT00 TOC001 TOE00
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.
Set to 1 for output.
0/1 1 1
(d) 16-bit timer mode control register 00 (TMC00)
0000
7654
0
TMC003
TMC00
TMC002 TMC001 OVF00
Free-running mode
100
Caution Do not set 0000H to the CR000 and CR010 registers.