NEC 78K0 Series User Manual page 182

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

Advertisement

Figure 7-11. Format of 16-Bit Timer Output Control Register 00 (TOC00)
Address: FFBDH
After reset: 00H
Symbol
7
TOC00
0
OSPT00
0
1
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, TM00 is cleared and started.
OSPE00
0
1
One-shot pulse output operates correctly in the free-running timer mode or clear & start mode entered by
TI000 pin valid edge input.
The one-shot pulse cannot be output in the clear & start mode entered upon a match between TM00 and
CR000.
TOC004
0
1
The interrupt signal (INTTM010) is generated even when TOC004 = 0.
LVS00
0
0
1
1
• LVS00 and LVR00 can be used to set the initial value of the output level of the TO00 pin. If the initial
value does not have to be set, leave LVS00 and LVR00 as 00.
• Be sure to set LVS00 and LVR00 when TOE00 = 1.
LVS00, LVR00, and TOE00 being simultaneously set to 1 is prohibited.
• LVS00 and LVR00 are trigger bits. By setting these bits to 1, the initial value of the output level of the
TO00 pin can be set. Even if these bits are cleared to 0, output of the TO00 pin is not affected.
• The values of LVS00 and LVR00 are always 0 when they are read.
• For how to set LVS00 and LVR00, see 7.5.2 Setting LVS0n and LVR0n.
TOC001
0
1
The interrupt signal (INTTM000) is generated even when TOC001 = 0.
TOE00
0
1
182
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
R/W
<6>
<5>
OSPT00
OSPE00
TOC004
One-shot pulse output trigger via software
One-shot pulse output
One-shot pulse output operation control
Successive pulse output
One-shot pulse output
TO00 pin output control on match between CR010 and TM00
Disables inversion operation
Enables inversion operation
LVR00
0
No change
1
Initial value of TO00 pin output is low level (TO00 pin output is cleared to 0).
0
Initial value of TO00 pin output is high level (TO00 pin output is set to 1).
1
Setting prohibited
TO00 pin output control on match between CR000 and TM00
Disables inversion operation
Enables inversion operation
Disables output (TO00 pin output fixed to low level)
Enables output
Preliminary User's Manual U17260EJ3V1UD
4
<3>
<2>
LVS00
LVR00
Setting of TO00 pin output status
TO00 pin output control
1
<0>
TOC001
TOE00

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents