UPD78F0138 NEC, UPD78F0138 Datasheet - Page 212

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
212
Cautions 1. When the Ring-OSC clock is selected as the clock to be supplied to the CPU, the clock of the
2. When TMHE1 = 1, setting the other bits of the TMHMD1 register is prohibited.
3. In the PWM output mode and carrier generator mode, be sure to set 8-bit timer H compare
4. When the carrier generator mode is used, set so that the count clock frequency of TMH1
Address: FF6CH
TMHMD1
Ring-OSC oscillator is divided and supplied as the count clock. If the count clock is the
Ring-OSC clock, the operation of 8-bit timer H1 is not guaranteed (except when CKS12,
CKS11, CKS10 = 1, 0, 1 (f
register 11 (CMP11) when starting the timer count operation (TMHE1 = 1) after the timer count
operation was stopped (TMHE1 = 0) (be sure to set again even if setting the same value to the
CMP11 register).
becomes more than 6 times the count clock frequency of TM51.
Figure 8-6. Format of 8-Bit Timer H Mode Register 1 (TMHMD1)
TMMD11
TOLEV1
TMHE1
TOEN1
TMHE1
CKS12
Other than above
<7>
0
1
0
0
0
0
1
1
0
0
1
0
1
0
1
Other than above
After reset: 00H
Stops timer count operation (counter is cleared to 0)
Enables timer count operation (count operation started by inputting clock)
TMMD10
Low level
High level
Disables output
Enables output
CKS12
CKS11
CHAPTER 8 8-BIT TIMERS H0 AND H1
0
1
0
0
0
1
1
0
0
6
R
/2
User’s Manual U16228EJ2V0UD
Interval timer mode
Carrier generator mode
PWM output mode
Setting prohibited
CKS10
CKS11
7
)).
Timer output level control (in default mode)
0
1
0
1
0
1
5
R/W
Setting prohibited
CKS10
f
f
f
f
f
f
X
X
X
X
X
R
/2
/2
/2
/2
/2
Timer output control
Timer operation enable
4
2
4
6
12
7
Timer operation mode
(10 MHz)
(2.5 MHz)
(625 kHz)
(156.25 kHz)
(2.44 kHz)
(1.88 kHz (TYP.))
Count clock (f
TMMD11 TMMD10 TOLEV1
3
CNT
2
) selection
<1>
TOEN1
<0>

Related parts for UPD78F0138