UPD78F0138 NEC, UPD78F0138 Datasheet - Page 208

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
(1) 8-bit timer H compare register 0n (CMP0n)
(2) 8-bit timer H compare register 1n (CMP1n)
setting CMP1n in carrier generator mode. The timer counter value is cleared at the same time. If the CMP1n value is
rewritten during timer operation, transferring is performed at the timing at which the counter value and CMP1n value
match. If the transfer timing and writing from CPU to CMP1n conflict, transfer is not performed.
208
CMP1n can be rewritten during timer count operation.
An interrupt request signal (INTTMHn) is generated if the values of the timer counter and CMP1n match after
Caution In the PWM output mode and carrier generator mode, be sure to set CMP1n when starting the
Remark n = 0, 1
This register can be read or written by an 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
Caution CMP0n cannot be rewritten during timer count operation.
This register can be read or written by an 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
timer count operation (TMHEn = 1) after the timer count operation was stopped (TMHEn = 0) (be
sure to set again even if setting the same value to CMP1n).
(n = 0, 1)
(n = 0, 1)
Symbol
CMP0n
Symbol
CMP1n
Address: FF18H (CMP00), FF1AH (CMP01)
Address: FF19H (CMP10), FF1BH (CMP11)
Figure 8-3. Format of 8-Bit Timer H Compare Register 0n (CMP0n)
Figure 8-4. Format of 8-Bit Timer H Compare Register 1n (CMP1n)
7
7
CHAPTER 8 8-BIT TIMERS H0 AND H1
6
6
User’s Manual U16228EJ2V0UD
5
5
4
4
After reset: 00H
After reset: 00H
3
3
2
2
R/W
R/W
1
1
0
0

Related parts for UPD78F0138