UPD78F0138 NEC, UPD78F0138 Datasheet - Page 194

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
194
Note Bits 2 and 3 are write-only.
Cautions 1. The settings of LVS5n and LVR5n are valid in other than PWM mode.
Remarks 1. In PWM mode, PWM output is made inactive by clearing TCE5n to 0.
Address: FF43H
Symbol
TMC51
2. If LVS5n and LVR5n are read, the value is 0.
3. The values of the TMC5n6, LVS5n, LVR5n, TMC5n1, and TOE5n bits are reflected at the TO5n pin
4. n = 0, 1
2. Do not rewrite following bits simultaneously.
3. Stop operation before rewriting TMC5n6.
regardless of the value of TCE5n.
• TMC5n1 and TOE5n
• TMC5n6 and TOE5n
• TMC5n1 and TMC5n6
• TMC5n6 and LVS5n, LVR5n
• TOE5n and LVS5n, LVR5n
TMC516
TMC511
TCE51
TCE51
TOE51
LVS51
<7>
0
1
0
1
0
0
1
1
0
1
0
1
Figure 7-8. Format of 8-Bit Timer Mode Control Register 51 (TMC51)
After reset: 00H
After clearing to 0, count operation disabled (counter stopped)
Count operation start
Mode in which clear & start occurs on a match between TM51 and CR51
PWM (free-running) mode
Inversion operation disabled
Inversion operation enabled
Output disabled (TM51 output is low level)
Output enabled
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
TMC516
LVR51
6
0
1
0
1
In other modes (TMC516 = 0)
R/W
No change
Timer output F/F reset (0)
Timer output F/F set (1)
Setting prohibited
Timer F/F control
Note
User’s Manual U16228EJ2V0UD
5
0
TM51 operating mode selection
TM51 count operation control
4
0
Timer output control
Timer output F/F status setting
LVS51
<3>
Active-low
Active-high
In PWM mode (TMC516 = 1)
LVR51
<2>
Active level selection
TMC511
1
TOE51
<0>

Related parts for UPD78F0138