UPD78F0138 NEC, UPD78F0138 Datasheet - Page 201
![no-image](/images/manufacturer_photos/0/4/470/nec_sml.jpg)
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: 201 of 558
- Download datasheet (5Mb)
(1) PWM output basic operation
Note 8-bit timer/event counter 50: P17, PM17
Remark n = 0, 1
<1> Set each register.
<2> The count operation starts when TCE5n = 1.
<1> PWM output (output from TO5n) outputs an inactive level until an overflow occurs.
<2> When an overflow occurs, the active level is output. The active level is output until CR5n matches the
<3> After the CR5n matches the count value, the inactive level is output until an overflow occurs again.
<4> Operations <2> and <3> are repeated until the count operation stops.
<5> When the count operation is stopped with TCE5n = 0, PWM output becomes inactive.
Setting
PWM output operation
8-bit timer/event counter 51: P33, PM33
• Clear the port output latch (P17 or P33)
• TCL5n: Select the count clock.
• CR5n:
• TMC5n: Stop the count operation, select PWM mode.
Clear TCE5n to 0 to stop the count operation.
count value of 8-bit timer counter 5n (TM5n).
For details of timing, see Figures 7-14 and 7-15.
The cycle, active-level width, and duty are as follows.
• Cycle = 2
• Active-level width = Nt
• Duty = N/2
(N = 00H to FFH)
Compare value
The timer output F/F is not changed.
8
t
Timer output enabled
(TMC5n = 01000001B or 01000011B)
8
TMC5n1
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
0
1
Active-high
Active-low
User’s Manual U16228EJ2V0UD
Note
Active Level Selection
and port mode register (PM17 or PM33)
Note
to 0.
201
Related parts for UPD78F0138
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![UPD78F1154GK-GAK-AX](/photos/19/3/190351/ge80lqfp05-40_tmb.jpg)
Part Number:
Description:
16BIT MCU, 128K FLASH, 8K RAM, SMD
Manufacturer:
NEC
Datasheet:
![UPD78F0413GA-GAM-AX](/photos/19/0/190032/ge48lqfp05-40_tmb.jpg)
Part Number:
Description:
8BIT UC, 32K FLASH, 1KB RAM, LCD
Manufacturer:
NEC
Datasheet:
![UPD78F0886GA(A)-GAM-AX](/photos/19/0/190032/ge48lqfp05-40_tmb.jpg)
Part Number:
Description:
8BIT MCU, 60K FLASH, 3KB RAM, CAN
Manufacturer:
NEC
Datasheet:
![UPD78F0890GK(A)-GAJ-AX](/photos/19/1/190186/ge64lqfp05-40_tmb.jpg)
Part Number:
Description:
8BIT MCU, 128K FLASH, 7K RAM, LQFP
Manufacturer:
NEC
Datasheet:
![UPD78F9502MA-CAC-A](/photos/19/7/190713/ge10ssop05-40_tmb.jpg)
Part Number:
Description:
8BIT MCU, 4K FLASH, 128B RAM, SMD
Manufacturer:
NEC
Datasheet:
![UPD70325L-8](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
![UPC1316C](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
![UPC393C](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
![UPA572T](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet: