Pull-Up Resistor Option Register Format - NEC PD78081(A) User Manual

8-bit single-chip microcontroller
Table of Contents

Advertisement

(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).
Symbol
7
7
6
6
PUOH
0
0
7
7
6
6
PUOL
PUO7
0
Caution
Set 0 to the bits 0, 1, 3 to 7 of PUOH and bits 2, 4, 6 of PUOL.
66
CHAPTER 4 PORT FUNCTIONS
Figure 4-11. Pull-Up Resistor Option Register Format
5
4
3
2
0
0
0
PUO10
5
4
3
2
PUO5
0
PUO3
0
1
0
Address
0
0
FFF3H
1
0
PUO1 PUO0
FFF7H
Pm Internal Pull-up Resistor Selection
PUOm
(m = 0, 1, 3, 5, 7, 10)
0
Internal pull-up resistor not used
1
Internal pull-up resistor used
After
Reset
R/W
00H
R/W
00H
R/W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents