CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
User’s Manual U16899EJ2V0UD
148
Figure 6-11. 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 control via software
0
No one-shot pulse output trigger
1
One-shot pulse output trigger
OSPE01
One-shot pulse output operation control
0
Successive pulse output mode
1
One-shot pulse output mode
Note
TOC014
Timer output F/F control using match of CR011 and TM01
0
Disables inversion operation
1
Enables inversion operation
LVS01
LVR01
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
TOC011
Timer output F/F control using match of CR001 and TM01
0
Disables inversion operation
1
Enables inversion operation
TOE01 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 TI001 pin valid edge. In the mode in which clear & start occurs on a match
between the TM01 register and CR001 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 TOC014.
2. If LVS01 and LVR01 are read, 0 is read.
3. OSPT01 is automatically cleared after data is set, so 0 is read.
4. Do not set OSPT01 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
01 (PRM01) is required to write to OSPT01 successively.
6. Do not set LVS01 to 1 before TOE01, and do not set LVS01 and TOE01 to 1 simultaneously.
7. Perform <1> and <2> below in the following order, not at the same time.
<1> Set TOC011, TOC014, TOE01, OSPE01: Timer output operation setting
<2> Set LVS01, LVR01:
Timer output F/F setting
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...