UPD78F0138 NEC, UPD78F0138 Datasheet - Page 155

no-image

UPD78F0138

Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
Note The one-shot pulse output mode operates correctly only in the free-running mode and the mode in which
Cautions 1. Timer operation must be stopped before setting other than TOC004.
Address: FFBDH
Symbol
TOC00
clear & start occurs at the TI000 valid edge. In the mode in which clear & start occurs on a match between
the TM00 register and CR000 register, one-shot pulse output is not possible because an overflow does not
occur.
2. If LVS00 and LVR00 are read, 0 is read.
3. OSPT00 is automatically cleared after data is set, so 0 is read.
4. Do not set OSPT00 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
6. Do not set LVS00 to 1 before TOE00, and do not set LVS00 and TOE00 to 1 simultaneously.
00 (PRM00) is required to write to OSPT00 successively.
OSPT00
OSPE00
TOC004
TOC001
TOE00
LVS00
Figure 6-10. Format of 16-Bit Timer Output Control Register 00 (TOC00)
7
0
0
1
0
1
0
1
0
0
1
1
0
1
0
1
After reset: 00H
CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
No one-shot pulse trigger
One-shot pulse trigger
Successive pulse output mode
One-shot pulse output mode
Disables inversion operation
Enables inversion operation
Disables inversion operation
Enables inversion operation
Disables output (output fixed to level 0)
Enables output
OSPT00
LVR00
<6>
0
1
0
1
R/W
No change
Timer output F/F reset (0)
Timer output F/F set (1)
Setting prohibited
OSPE00
<5>
Timer output F/F control using match of CR010 and TM00
Timer output F/F control using match of CR000 and TM00
User’s Manual U16228EJ2V0UD
One-shot pulse output trigger control via software
One-shot pulse output operation control
TOC004
Note
4
Timer output control
Timer output F/F status setting
LVS00
<3>
LVR00
<2>
TOC001
1
TOE00
<0>
155

Related parts for UPD78F0138