CHAPTER 6 16-BIT TIMER/EVENT COUNTER
131
User’s Manual U11302EJ4V0UM
(3) 16-bit timer output control register (TOC0)
This register controls the operation of the 16-bit timer/event counter output controller. It sets/resets the R-S type
flip-flop (LV0), sets the active level in PWM mode, and enables/disables inversion in modes other than PWM mode
and data output mode.
TOC0 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TOC0 to 00H.
Figure 6-6. Format of 16-Bit Timer Output Control Register
Cautions 1. Timer operation must be stopped before setting TOC0.
2. If LVS0 and LVR0 are read after data is set, they will be 0.
TOE0
TOC0
7
6
5
4
<3>
<2>
Symbol
1
<0>
TOE0
16-bit timer/event counter output control
0
1
Output disabled (port mode)
Output enabled
FF4EH
TOC01
LVS0
TOC01
LVS0
16-bit timer/event counter timer output F/F
status setting
0
0
No change
Timer output F/F reset (0)
1
1
LVR0
0
1
0
1
Timer output F/F set (1)
Setting prohibited
LVR0
0
In PWM mode
0
1
Active level selection
Timer output F/F control
Active high
Active low
In other modes
Inversion operation disabled
Inversion operation enabled
Address
After reset
R/W
00H
R/W
0
0
0