UPD78F0138 NEC, UPD78F0138 Datasheet - Page 181
UPD78F0138
Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet
1.UPD78F0138.pdf
(558 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
- Current page: 181 of 558
- Download datasheet (5Mb)
(2) One-shot pulse output with external trigger
Caution 16-bit timer counter 0n starts operating as soon as a value other than 00 (operation stop mode) is
Remark N < M
A one-shot pulse can be output from the TO0n pin by setting 16-bit timer mode control register 0n (TMC0n),
capture/compare control register 0n (CRC0n), and 16-bit timer output control register 0n (TOC0n) as shown in
Figure 6-38, and by using the valid edge of the TI00n pin as an external trigger.
The valid edge of the TI00n pin is specified by bits 4 and 5 (ES0n0, ES0n1) of prescaler mode register 0n
(PRM0n). The rising, falling, or both the rising and falling edges can be specified.
When the valid edge of the TI00n pin is detected, the 16-bit timer/event counter is cleared and started, and the
output becomes active at the count value set in advance to 16-bit timer capture/compare register 01n (CR01n).
After that, the output becomes inactive at the count value set in advance to 16-bit timer capture/compare register
00n (CR00n)
Note The case where N < M is described here. When N > M, the output becomes active with the CR00n register
Caution Even if the external trigger is generated again while the one-shot pulse is output, it is ignored.
Remark n = 0:
CR01n set value
CR00n set value
TO0n pin output
Count clock
TM0n count
INTTM01n
INTTM00n
and inactive with the CR01n register. Do not set N to M.
OSPT0n
set to the TMC0n3 and TMC0n2 bits.
n = 0, 1:
Figure 6-37. Timing of One-Shot Pulse Output Operation with Software Trigger
Note
.
Set TMC0n to 0CH
(TM0n count starts)
0000H
µ
µ
PD780131, 780132
PD780133, 780134, 78F0134, 780136, 780138, 78F0138
M
N
CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
0001H
N
User’s Manual U16228EJ2V0UD
N + 1
N
M
0000H
N – 1
M
N
N
M – 1
M
M
N
M + 1 M + 2
181
Related parts for UPD78F0138
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
16BIT MCU, 128K FLASH, 8K RAM, SMD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT UC, 32K FLASH, 1KB RAM, LCD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 60K FLASH, 3KB RAM, CAN
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 128K FLASH, 7K RAM, LQFP
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
8BIT MCU, 4K FLASH, 128B RAM, SMD
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet: