
84
CHAPTER 5 APPLICATIONS OF 16-BIT TIMER/EVENT COUNTER
Figure 5-5. Format of 16-Bit Timer Output Control Register
(
μ
PD780024, 780024Y, 780034, 780034Y subseries)
Cautions 1. Be sure to stop the timer operation before setting TOC0 (except OSPT).
2. LVS0 and LVR0 are always 0 when they are read immediately after data has been set.
3. OSPT is automatically cleared after data has been set. It is therefore always 0 when read.
7
6
5
4
3
2
Symbol
1
0
TOE0
Controls output of timer 0
FF63H
TOE0
TOC0
TOC01
LVS0
LVR0
TOC04
OSPE
OSPT
0
Address
At reset
R/W
00H
R/W
0
Disables output (port mode)
1
Enables output
TOC01 Controls timer output F/F on coincidence between
CR00 and TM0
0
Disables reverse operation
1
Enables reverse operation
LVS0
Sets status of timer output F/F of timer 0
0
Not affected
0
Resets timer output F/F (to 0)
LVR0
0
1
1
Sets timer output F/F (to 1)
1
Setting prohibited
0
1
TOC04
Controls timer output F/F on coincidence between
CR01 and TM0
0
Disables reverse operation
1
Enables reverse operation
OSPE
Controls one-shot pulse output operation
0
Successive pulse output
1
One-shot pulse output
OSPT
Controls output trigger of one-shot pulse by software
0
No one-shot pulse trigger
1
One-shot pulse trigger