UPD78F9418A NEC, UPD78F9418A Datasheet - Page 122

no-image

UPD78F9418A

Manufacturer Part Number
UPD78F9418A
Description
(UPD7894xxA) 8-Bit Single Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F9418A
Manufacturer:
NEC
Quantity:
1 831
Part Number:
UPD78F9418AGC
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9418AGC-8BT-A
Manufacturer:
RENESAS
Quantity:
800
Part Number:
UPD78F9418AGC-8BT-A
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
UPD78F9418AGK-9EU
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD78F9418AGK-9EU
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9418AGK-9EU-A
Manufacturer:
Renesas Electronics America
Quantity:
10 000
www.DataSheet4U.com
7.4 Operation of 8-Bit Timer/Event Counters 00 to 02
7.4.1 Operation as interval timer
compare registers 00, 01, and 02 (CR00, CR01, and CR02) in advance.
cleared to 00H and TM0n continues counting. At the same time, an interrupt request signal (INTTM0n) is generated.
operation.
122
TCL001
TCL011
The interval timer repeatedly generates an interrupt at time intervals specified by the count value set to 8-bit
To operate the 8-bit timer/event counter as an interval timer, make the settings in the following order.
<1> Set 8-bit timer counter 0n (TM0n) to operation-disabled (TCE0n (bit 7 of 8-bit timer mode control register 0n
<2> Select the count clock of the 8-bit timer/event counter (see Tables 7-6 to 7-8)
<3> Set the count value to CR0n
<4> Set TM0n to operation-enabled (TCE0n = 1)
When the count value of 8-bit timer counter 0n (TM0n) matches the value set to CR0n, the value of TM0n is
Tables 7-6 through 7-8 show the interval time, and Figures 7-8 and 7-9 show the timing of interval timer
Caution When the setting of the count clock using TMC0n and the setting of the TM0n to operation-
Remark
Remarks 1. f
Remarks 1. f
0
0
1
1
0
0
1
1
(TMC0n)) = 0)
enable using an 8-bit memory manipulation instruction are performed at the same time, an error
of one clock or more may occur in the first cycle after the timer is started. Because of this,
when the 8-bit timer/event counter operates as an interval timer, be sure to make the settings in
the order described above.
n = 0 to 2
2. The parenthesized values apply to operation at f
2. The parenthesized values apply to operation at f
TCL000
TCL010
X
X
: Main system clock oscillation frequency
: Main system clock oscillation frequency
0
1
0
1
0
1
0
1
Table 7-6. Interval Time of 8-Bit Timer/Event Counter 00
Table 7-7. Interval Time of 8-Bit Timer/Event Counter 01
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 00 TO 02
2
2
TI0 input cycle
TI0 input cycle
2
2
TI1 input cycle
TI1 input cycle
6
9
4
8
/f
/f
/f
/f
X
X
X
X
Minimum Interval Time
Minimum Interval Time
(12.8 µ s)
(102.4 µ s)
(3.2 µ s)
(51.2 µ s)
User’s Manual U13952EJ3V0UD
2
2
2
2
2
2
2
2
14
17
8
8
12
16
8
8
/f
/f
× TI0 input cycle
× TI0 input cycle
/f
/f
× TI1 input cycle
× TI1 input cycle
Maximum Interval Time
Maximum Interval Time
X
X
X
X
(3.28 ms)
(26.2 ms)
(819.2 µ s)
(13.1 ms)
X
X
= 5.0 MHz.
= 5.0 MHz.
2
2
TI0 input edge cycle
TI0 input edge cycle
2
2
TI1 input edge cycle
TI1 input edge cycle
6
9
4
8
/f
/f
/f
/f
X
X
X
X
(12.8 µ s)
(102.4 µ s)
(3.2 µ s)
(51.2 µ s)
Resolution
Resolution

Related parts for UPD78F9418A