CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Preliminary User’s Manual U17260EJ3V1UD
183
Figure 7-12. Format of 16-Bit Timer Output Control Register 01 (TOC01)
Address: FFB9H After reset: 00H R/W
Symbol 7 <6>
<5> 4 <3>
<2> 1 <0>
TOC01 0
OSPT01
OSPE01
TOC014
LVS01 LVR01 TOC011 TOE01
OSPT01 One-shot
pulse
output trigger via software
0
−
1
One-shot pulse output
The value of this bit is always 0 when it is read. Do not set this bit to 1 in a mode other than the one-shot
pulse output mode.
If it is set to 1, TM01 is cleared and started.
OSPE01
One-shot pulse output operation control
0
Successive pulse output
1 One-shot
pulse
output
One-shot pulse output operates correctly in the free-running timer mode or clear & start mode entered by
TI001 pin valid edge input.
The one-shot pulse cannot be output in the clear & start mode entered upon a match between TM01 and
CR001.
TOC014
TO01 pin output control on match between CR011 and TM01
0
Disables inversion operation
1
Enables inversion operation
The interrupt signal (INTTM011) is generated even when TOC014 = 0.
LVS01
LVR01
Setting of TO01 pin output status
0 0
No
change
0
1
Initial value of TO01 pin output is low level (TO01 pin output is cleared to 0).
1
0
Initial value of TO01 pin output is high level (TO01 pin output is set to 1).
1 1
Setting
prohibited
•
LVS01 and LVR01 can be used to set the initial value of the output level of the TO01 pin. If the initial
value does not have to be set, leave LVS01 and LVR01 as 00.
•
Be sure to set LVS01 and LVR01 when TOE01 = 1.
LVS01, LVR01, and TOE01 being simultaneously set to 1 is prohibited.
•
LVS01 and LVR01 are trigger bits. By setting these bits to 1, the initial value of the output level of the
TO01 pin can be set. Even if these bits are cleared to 0, output of the TO01 pin is not affected.
•
The values of LVS01 and LVR01 are always 0 when they are read.
•
For how to set LVS01 and LVR01, see
7.5.2 Setting LVS0n and LVR0n
.
TOC011
TO01 pin output control on match between CR001 and TM01
0
Disables inversion operation
1
Enables inversion operation
The interrupt signal (INTTM001) is generated even when TOC011 = 0.
TOE01
TO01 pin output control
0
Disables output (TO01 pin output is fixed to low level)
1 Enables
output