CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U16896EJ2V0UD
234
(3) 16-bit timer output control register 01 (TOC01)
The TOC01 register is an 8-bit register that controls the TO01 pin output.
The TOC01 register can be rewritten while only the OSPT01 bit is operating (when the TMC01.TMC013 and
TMC01.TMC012 bits = other than 00). Rewriting the other bits is prohibited during operation.
However, TOC014 can be rewritten during timer operation as a means to rewrite the CR011 register (refer to
7.5.1 Rewriting CR011 register during TM01 operation
).
This register can be read or written in 8-bit or 1-bit units.
Reset sets this register to 00H.
Caution Be sure to set the TOC01 register using the following procedure.
<1> Set the TOC014 and TOC011 bits to 1.
<2> Set only the TOE01 bit to 1.
<3> Set either the LVS01 bit or the LVR01 bit to 1.
(1/2)
After reset: 00H R/W
Address: FFFFF619H
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.
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
TI010 pin valid edge input.
The one-shot pulse cannot be output in the clear & start mode entered upon a match between the TM01
and CR010 registers.
TOC014
TO01 pin output control on match between CR011 and TM01 registers
0
Disables inversion operation
1
Enables inversion operation
The interrupt signal (INTTM011) is generated even when the TOC014 bit = 0.