UPD78F0138 NEC, UPD78F0138 Datasheet - Page 165

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
(TI001/P05)
Note Frequencies and pin names without parentheses are for 16-bit timer/event counter 00, and those in
Remarks 1. 0000H ≤ M < N ≤ FFFFH
f
f
X
X
Cautions 1. CR00n cannot be rewritten during TM0n operation.
/2
/2
TI000/P00
2
8
(f
(f
f
X
X
X
/2
/2
(f
parentheses are for 16-bit timer/event counter 01.
X
4
6
)
)
)
Note
Note
Note
Note
2. n = 0:
2. In the PPG output operation, change the pulse width (rewrite CR01n) during TM0n operation
CR00n capture value
CR01n capture value
n = 0, 1:
Noise
eliminator
TM0n count value
using the following procedure.
<1> Disable the timer output inversion operation by match of TM0n and CR01n (TOC0n4 = 0)
<2> Disable the INTTM01n interrupt (TMMK01n = 1)
<3> Rewrite CR01n
<4> Wait for 1 cycle of the TM0n count clock
<5> Enable the timer output inversion operation by match of TM0n and CR01n (TOC0n4 = 1)
<6> Clear the interrupt request flag of INTTM01n (TMIF01n = 0)
<7> Enable the INTTM01n interrupt (TMMK01n = 0)
f
X
Count clock
µ
µ
PD780131, 780132
PD780133, 780134, 78F0134, 780136, 780138, 78F0138
CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
TO0n
Figure 6-19. Configuration Diagram of PPG Output
Figure 6-20. PPG Output Operation Timing
N
Clear
0000H
t
Pulse width: (M + 1)
0001H
16-bit timer capture/compare
16-bit timer capture/compare
User’s Manual U16228EJ2V0UD
16-bit timer counter 0n
register 00n (CR00n)
register 01n (CR01n)
1 cycle: (N + 1)
(TM0n)
M
1
N
M
t
M
t
N
1
circuit
Clear
N
Clear
0000H 0001H
TO00/TI010/P01
( TO01/TI011/P06 )
165

Related parts for UPD78F0138