NEC 78K0 Series User Manual page 183

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Figure 7-12. Format of 16-Bit Timer Output Control Register 01 (TOC01)
Address: FFB9H
After reset: 00H
Symbol
7
TOC01
0
OSPT01
OSPT01
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
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
0
Disables inversion operation
1
Enables inversion operation
The interrupt signal (INTTM011) is generated even when TOC014 = 0.
LVS01
LVR01
0
0
1
1
• 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
0
Disables inversion operation
1
Enables inversion operation
The interrupt signal (INTTM001) is generated even when TOC011 = 0.
TOE01
0
Disables output (TO01 pin output is fixed to low level)
1
Enables output
R/W
<6>
<5>
4
OSPE01
TOC014
One-shot pulse output trigger via software
One-shot pulse output operation control
TO01 pin output control on match between CR011 and TM01
0
No change
1
Initial value of TO01 pin output is low level (TO01 pin output is cleared to 0).
0
Initial value of TO01 pin output is high level (TO01 pin output is set to 1).
1
Setting prohibited
TO01 pin output control on match between CR001 and TM01
Preliminary User's Manual U17260EJ3V1UD
<3>
<2>
LVS01
LVR01
Setting of TO01 pin output status
TO01 pin output control
1
<0>
TOC011
TOE01
183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents