UPD78F0138 NEC, UPD78F0138 Datasheet - Page 196
![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: 196 of 558
- Download datasheet (5Mb)
7.4 Operations of 8-Bit Timer/Event Counters 50 and 51
7.4.1 Operation as interval timer
of the count value preset to 8-bit timer compare register 5n (CR5n).
TM5n value cleared to 0 and an interrupt request signal (INTTM5n) is generated.
(TCL5n).
196
8-bit timer/event counter 5n operates as an interval timer that generates interrupt requests repeatedly at intervals
When the count value of 8-bit timer counter 5n (TM5n) matches the value set to CR5n, counting continues with the
The count clock of TM5n can be selected with bits 0 to 2 (TCL5n0 to TCL5n2) of timer clock selection register 5n
<1> Set the registers.
<2> After TCE5n = 1 is set, the count operation starts.
<3> If the values of TM5n and CR5n match, INTTM5n is generated (TM5n is cleared to 00H).
<4> INTTM5n is generated repeatedly at the same interval.
Caution Do not write other values to CR5n during operation.
Remark Interval time = (N + 1) × t
Setting
TM5n count value
• TCL5n:
• CR5n:
• TMC5n:
Set TCE5n to 0 to stop the count operation.
Count clock
INTTM5n
N = 00H to FFH
n = 0, 1
TCE5n
CR5n
Select the count clock.
Compare value
Stop the count operation, select the mode in which clear & start occurs on a match of TM5n
and CR5n.
(TMC5n = 0000×××0B × = Don’t care)
Count start
00H
N
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
01H
Figure 7-11. Interval Timer Operation Timing (1/2)
t
User’s Manual U16228EJ2V0UD
(a) Basic operation
N
Clear
00H
Interrupt acknowledged
N
01H
Interval time
N
Clear
00H
Interrupt acknowledged
N
01H
Interval time
N
N
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: