CHAPTER 4 PORT FUNCTIONS
User’s Manual U15075EJ1V0UM00
99
(3)
Pull-up resistor option register B2 (PUB2)
Pull-up resistor option register B2 (PUB2) sets whether on-chip pull-up resistors on P20 to P26 are used or
not.
On the port specified to use an on-chip pull-up resistor by PUB2, the pull-up resistor can be internally used
only for the bits set in the input mode. No on-chip pull-up resistors can be used for the bits set in the output
mode regardless of the setting of PUB2. This also applies to cases when the pins are used for alternate
functions.
PUB2 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PUB2 to 00H.
Figure 4-20. Format of Pull-Up Resistor Option Register B2
P2n on-chip pull-up resistor selection
(n = 0 to 6)
0
PUB26 PUB25 PUB24 PUB23 PUB22 PUB21 PUB20
PUB2
Address
After reset
R/W
FF32H
00H
R/W
7
<6>
<5>
<4>
<3>
<2>
<1>
<0>
PUB2n
0
1
On-chip pull-up resistor not used
On-chip pull-up resistor used
Symbol
(4)
Pull-up resistor option register B3 (PUB3)
Pull-up resistor option register B3 (PUB3) sets whether on-chip pull-up resistors on P30 to P33 are used or
not.
On the port specified to use an on-chip pull-up resistor by PUB3, the pull-up resistor can be internally used
only for the bits set in the input mode. No on-chip pull-up resistors can be used for the bits set in the output
mode regardless of the setting of PUB3. This also applies to cases when the pins are used for alternate
functions.
PUB3 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PUB3 to 00H.
Figure 4-21. Format of Pull-Up Resistor Option Register B3
P3n on-chip pull-up resistor selection
(n = 0 to 3)
0
0
0
0
PUB33 PUB32 PUB31 PUB30
PUB3
Address
After reset
R/W
FF33H
00H
R/W
7
6
5
4
<3>
<2>
<1>
<0>
PUB3n
0
1
On-chip pull-up resistor not used
On-chip pull-up resistor used
Symbol
Содержание mPD789425
Страница 2: ...2 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 6: ...6 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 10: ...10 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 24: ...24 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 36: ...36 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 46: ...46 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 176: ...User s Manual U15075EJ1V0UM00 176 MEMO ...
Страница 196: ...User s Manual U15075EJ1V0UM00 196 MEMO ...
Страница 210: ...User s Manual U15075EJ1V0UM00 210 MEMO ...
Страница 262: ...262 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 278: ...278 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 296: ...296 User s Manual U15075EJ1V0UM00 MEMO ...
Страница 298: ...User s Manual U15075EJ1V0UM00 298 MEMO ...
Страница 316: ...User s Manual U15075EJ1V0UM00 316 MEMO ...