66
CHAPTER 4 PORT FUNCTIONS
(2) Pull-up resistor option register (PUOH, PUOL)
This register is used to set whether to use an internal pull-up resistor at each port or not. A pull-up resistor
is internally used at bits which are set to the input mode at a port where on-chip pull-up resistor use has been
specified with PUOH, PUOL. No on-chip pull-up resistors can be used to the bits set to the output mode or
to the bits used as an analog input pin, irrespective of PUOH or PUOL setting.
PUOH and PUOL are set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to 00H.
Cautions 1. P00 pin does not incorporate a pull-up resistor.
2. When port 1 is used as dual-function pin, an on-chip pull-up resistor cannot be used even
if 1 is set in PUOL bit 1 (PUO1).
Figure 4-11. Pull-Up Resistor Option Register Format
Caution
Set 0 to the bits 0, 1, 3 to 7 of PUOH and bits 2, 4, 6 of PUOL.
PUO7
0
PUO5
0
0
PUO1 PUO0
PUOL
PUOm
Pm Internal Pull-up Resistor Selection
(m = 0, 1, 3, 5, 7, 10)
0
1
Internal pull-up resistor not used
Internal pull-up resistor used
FFF7H
00H
R/W
7
6
5
4
PUO3
7
6
3
2
0
1
0
0
0
0
PUO10
0
0
PUOH
FFF3H
00H
R/W
7
6
5
4
Symbol
Address
After
Reset
R/W
0
7
6
3
2
0
1
Содержание NEC PD78081(A)
Страница 23: ...xii MEMO...
Страница 37: ...14 CHAPTER 1 OUTLINE MEMO...
Страница 47: ...24 CHAPTER 2 PIN FUNCTION MEMO...
Страница 91: ...68 CHAPTER 4 PORT FUNCTIONS MEMO...
Страница 125: ...102 CHAPTER 6 8 BIT TIMER EVENT COUNTERS 5 AND 6 MEMO...
Страница 157: ...134 CHAPTER 10 A D CONVERTER MEMO...
Страница 193: ...170 CHAPTER 11 SERIAL INTERFACE CHANNEL 2 MEMO...
Страница 253: ...230 CHAPTER 16 INSTRUCTION SET MEMO...
Страница 269: ...246 APPENDIX B EMBEDDED SOFTWARE MEMO...