UPD78F0138 NEC, UPD78F0138 Datasheet - Page 115

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
(3) Pull-up resistor option registers (PU0, PU1, PU3 to PU5, PU7, PU12, and PU14)
Symbol
PU12
PU14
PU0
PU1
PU3
PU4
PU5
PU7
These registers specify whether the on-chip pull-up resistors of P00 to P06, P10 to P17, P30 to P33, P40 to P43,
P50 to P53, P70 to P77, P120, or P140 and P141 are to be used or not. On-chip pull-up resistors can be used in
1-bit units only for the bits set to input mode of the pins to which the use of an on-chip pull-up resistor has been
specified in PU0, PU1, PU3 to PU5, PU7, PU12, and PU14. On-chip pull-up resistors cannot be connected to
bits set to output mode and bits used as alternate-function output pins, regardless of the settings of PU0, PU1,
PU3 to PU5, PU7, PU12, and PU14.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears these registers to 00H.
Caution Use of a pull-up resistor can be specified for P60 to P63 pins by a mask option only in the mask
PUmn
PU17
PU77
7
0
7
7
0
7
0
7
0
7
7
0
7
0
0
1
ROM versions.
On-chip pull-up resistor not connected
On-chip pull-up resistor connected
PU06
PU16
PU76
6
6
6
0
6
0
6
0
6
6
0
6
0
Figure 4-23. Format of Pull-up Resistor Option Register
PU05
PU15
PU75
5
5
5
0
5
0
5
0
5
5
0
5
0
PU04
PU14
PU74
4
4
4
0
4
0
4
0
4
4
0
4
0
CHAPTER 4 PORT FUNCTIONS
User’s Manual U16228EJ2V0UD
PU03
PU13
PU33
PU43
PU53
PU73
Pmn pin on-chip pull-up resistor selection
3
3
3
3
3
3
3
0
3
0
(m = 0, 1, 3 to 5, 7, 12, 14; n = 0 to 7)
PU02
PU12
PU32
PU42
PU52
PU72
2
2
2
2
2
2
2
0
2
0
PU141
PU01
PU11
PU31
PU41
PU51
PU71
1
1
1
1
1
1
1
0
1
PU120
PU140
PU00
PU10
PU30
PU40
PU50
PU70
0
0
0
0
0
0
0
0
Address
FF3CH
FF3EH
FF30H
FF31H
FF33H
FF34H
FF35H
FF37H
After reset
00H
00H
00H
00H
00H
00H
00H
00H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
115

Related parts for UPD78F0138