UPD78F0138 NEC, UPD78F0138 Datasheet - Page 200

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
7.4.4 PWM output operation
(TMC5n) is set to 1.
TMC5n.
200
Note The initial value of TO5n output can be set by bits 2 and 3 (LVR5n, LVS5n) of 8-bit timer mode control
8-bit timer/event counter 5n operates as a PWM output when bit 6 (TMC5n6) of 8-bit timer mode control register 5n
The duty pulse determined by the value set to 8-bit timer compare register 5n (CR5n) is output from TO5n.
Set the active level width of the PWM pulse to CR5n; the active level can be selected with bit 1 (TMC5n1) of
The count clock can be selected with bits 0 to 2 (TCL5n0 to TCL5n2) of timer clock selection register 5n (TCL5n).
PWM output can be enabled/disabled with bit 0 (TOE5n) of TMC5n.
Caution In PWM mode, make the CR5n rewrite period 3 count clocks of the count clock (clock selected by
Remark n = 0, 1
TM5n count value
register 5n (TMC5n).
Count clock
TO5n
TCL5n) or more.
CR5n
Note
Count start
00H
01H
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
t
Figure 7-13. Square-Wave Output Operation Timing
02H
N
User’s Manual U16228EJ2V0UD
N
1
N
00H
01H
02H
N
1
N
00H

Related parts for UPD78F0138