111
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
Preliminary User’s Manual U16035EJ1V0UM
(3) 16-bit timer output control register 0 (TOC0)
This register controls the operation of the 16-bit timer/event counter 0 output controller. It sets R-S type flip-flop
(LV0) setting/resetting, output inversion enabling/disabling, and 16-bit timer/event counter 0 timer output
enabling/disabling.
TOC0 is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TOC0 value to 00H.
Figure 6-4 shows the TOC0 format.
Figure 6-4. Format of 16-Bit Timer Output Control Register 0 (TOC0)
Address: FF63H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
TOC0
0
0
0
TOC04
LVS0
LVR0
TOC01
TOE0
TOC04
Timer output F/F control by match of CR01 and TM0
0
Inversion operation disabled
1
Inversion operation enabled
LVS0
LVR0
16-bit timer/event counter timer output F/F status setting
0
0
No change
0
1
Timer output F/F reset (0)
1
0
Timer output F/F set (1)
1
1
Setting prohibited
TOC01
Timer output F/F control by match of CR00 and TM0
0
Inversion operation disabled
1
Inversion operation enabled
TOE0
16-bit timer/event counter output control
0
Output disabled (output set to level 0)
1
Output enabled
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.