CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U16846EJ1V0UD
112
(3) 16-bit timer output control register 00 (TOC00)
This register controls the operation of the 16-bit timer/event counter 00 output controller. It sets/resets the timer
output F/F (LV00), enables/disables output inversion and 16-bit timer/event counter 00 timer output,
enables/disables the one-shot pulse output operation, and sets the one-shot pulse output trigger via software.
TOC00 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears TOC00 to 00H.
Figure 6-7. Format of 16-Bit Timer Output Control Register 00 (TOC00)
Address: FFBDH After reset: 00H R/W
Symbol 7 <6>
<5> 4 <3>
<2> 1 <0>
TOC00 0
OSPT00
OSPE00
TOC004
LVS00 LVR00 TOC001 TOE00
OSPT00 One-shot
pulse
output
trigger control via software
0
No one-shot pulse trigger
1 One-shot
pulse
trigger
OSPE00
One-shot pulse output operation control
0
Successive pulse output mode
1
One-shot pulse output mode
Note
TOC004
Timer output F/F control using match of CR010 and TM00
0
Disables inversion operation
1
Enables inversion operation
LVS00
LVR00
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
TOC001
Timer output F/F control using match of CR000 and TM00
0
Disables inversion operation
1
Enables inversion operation
TOE00 Timer
output
control
0
Disables output (output fixed to level 0)
1 Enables
output
Note The one-shot pulse output mode operates correctly only in the free-running mode and the mode in which
clear & start occurs at the TI000 pin valid edge. In the mode in which clear & start occurs on a match
between the TM00 register and CR000 register, one-shot pulse output is not possible because an overflow
does not occur.
Cautions 1. Timer operation must be stopped before setting other than TOC004.
2. LVS00 and LVR00 are 0 when they are read.
3. OSPT00 is automatically cleared after data is set, so 0 is read.
4. Do not set OSPT00 to 1 other than in one-shot pulse output mode.
5. A write interval of two cycles or more of the count clock selected by prescaler mode register
00 (PRM00) is required to write to OSPT00 successively.
6. Do not set LVS00 to 1 before TOE00, and do not set LVS00 and TOE00 to 1 simultaneously.
7. Do not make settings <1> and <2> below simultaneously. In addition, follow the setting
procedure shown below.
<1> Setting of TOC001, TOC004, TOE00, and OSPE00: Setting of timer output operation
<2> Setting of LVS00 and LVR00:
Setting of timer output F/F