
131
μPD780948, μPD78F0948, μPD780949, μPD78F0949
Figure 7-4: Format of 16-Bit Timer Output Control Register (TOC0)
Address: FF63H After Reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
TOC0
0
OSPT
OSPE
TOC04
LVS0
LVR0
TOC01
TOE0
OSPT
Output trigger control of one-shot pulse by software
0
No one-shot pulse trigger
1
Uses one-shot pulse trigger
OSPE
Controls of one-shot pulse output operation
0
Continuous pulse output
1
One-shot pulse output
TOC04
Timer output F/F control on coincidence between CR01 and TM0
0
Disables inversion timer output
1
Enables inversion timer output
LVS0
LVR0
Set status of timer output F/F of 16-bit timer/counter (TM0)
0
0
Not affected
0
1
Resets timer output F/F (0)
1
0
Sets timer output F/F (1)
1
1
Setting prohibited
TOC01
Timer output F/F control on coincidence between CR00 and TM0
0
Disables inversion timer output F/F
1
Enables inversion timer output F/F
TOE0
Output control of 16-bit timer/counter (TM0)
0
Disables output (port mode)
1
Enables output
Cautions:
1. Before setting TOC0, be sure to stop the timer operation.
2. LVS0 and LVR0 are 0 when read after data have been set to them.
3. OSPT is 0 when read because it is automatically cleared after data has been set.
(3) 16-bit timer output control register (TOC0)
This register controls the operation of the 16-bit timer/event counter (TM0) output control circuit by setting
or resetting the R-S flip-flop (LV0), enabling or disabling reverse output, enabling or disabling output of
16-bit timer/counter (TM0), enabling or disabling one-shot pulse output operation, and selecting an output
trigger for a one-shot pulse by software.
TOC0 is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TOC0 to 00H.
Figure 7-4 shows the format of TOC0.