UPD78F0138 NEC, UPD78F0138 Datasheet - Page 210

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
210
Note To select the TM50 output as a count clock, start operation by setting 8-bit timer/event counter 50 in the
PWM output mode (bit 6 (TMC506) of the TMC50 register = 1), and then set CKS02, CKS01, and CKS00 to
1, 0, and 1, respectively. Set the high/low level width of the count clock so that the specifications of the
input width of TI50 are satisfied (see AC Characteristics (1) Basic operation in CHAPTER 29 to
CHAPTER 31). It is not necessary to enable the TO50 pin as a timer output pin (bit 0 (TOE50) of the TMC
register may be 0 or 1).
TMHMD0
Address: FF69H
Figure 8-5. Format of 8-Bit Timer H Mode Register 0 (TMHMD0)
TMMD01
TOLEV0
TMHE0
TOEN0
TMHE0
CKS02
Other than above
<7>
0
1
0
0
0
0
1
1
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)
TMMD00
Low level
High level
Disables output
Enables output
CKS02
CKS01
CHAPTER 8 8-BIT TIMERS H0 AND H1
0
0
0
0
1
1
0
0
6
User’s Manual U16228EJ2V0UD
Interval timer mode
PWM output mode
Setting prohibited
CKS01
CKS00
0
1
0
1
0
1
5
R/W
Timer output level control (in default mode)
CKS00
Setting prohibited
f
f
f
f
f
TM50 output
X
X
X
X
X
/2
/2
/2
/2
4
2
6
10
Timer output control
Timer operation enable
(10 MHz)
(5 MHz)
(2.5 MHz)
(156.25 kHz)
(9.77 kHz)
Timer operation mode
TMMD01 TMMD00 TOLEV0
Count clock (f
Note
3
2
CNT
) selection
<1>
TOEN0
<0>

Related parts for UPD78F0138