UPD78F0138 NEC, UPD78F0138 Datasheet - Page 190

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
(2) 8-bit timer compare register 5n (CR5n)
190
CR5n can be read and written by an 8-bit memory manipulation instruction.
Except in PWM mode, the value set in CR5n is constantly compared with the 8-bit timer counter 5n (TM5n) count
value, and an interrupt request (INTTM5n) is generated if they match.
In PWM mode, when the TO5n pin becomes active due to a TM5n overflow and the values of TM5n and CR5n
match, the TO5n pin becomes inactive.
The value of CR5n can be set within 00H to FFH.
RESET input clears CR5n to 00H.
Cautions 1. In the mode in which clear & start occurs on a match of TM5n and CR5n (TMC5n6 = 0), do
Remark n = 0, 1
2. In PWM mode, make the CR5n rewrite period 3 count clocks of the count clock (clock
Address: FF17H (CR50), FF41H (CR51)
(n = 0, 1)
Symbol
CR5n
not write other values to CR5n during operation.
selected by TCL5n) or more.
Figure 7-4. Format of 8-Bit Timer Compare Register 5n (CR5n)
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
User’s Manual U16228EJ2V0UD
After reset: 00H
R/W

Related parts for UPD78F0138