CHAPTER 4 PORT FUNCTIONS
User's Manual U11919EJ3V0UM00
82
Figure 4-12. Port Mode Register Format
(2)
Pull-up resistor option register (PUO)
The pull-up resistor option register (PUO) sets whether an on-chip pull-up resistor on each port is used or
not.
On the port which is specified to use the on-chip pull-up resistor in the PUO, 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 in spite of setting the PUO. On-chip pull-up resistors cannot be used either when the
pins are used as the alternate-function output pins.
PUO is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input clears PUO to 00H.
Figure 4-13. Pull-Up Resistor Option Register Format
PMmn
0
Output mode (output buffer ON)
Input mode (output buffer OFF)
1
Pmn Pin Input/Output Mode Selection
m = 0, 1, 4 : n = 0 to 7
m = 2, 3 : n = 0 to 2
m = 5 : n = 0 to 3
PM07
PM06
PM05
PM04
PM03
PM02
PM01
PM00
PM0
7
6
5
4
Symbol
Address
After Reset
R/W
FF20H
FFH
R/W
3
2
1
0
PM17
PM16
PM15
PM14
PM13
PM12
PM11
PM10
PM1
FF21H
FFH
R/W
1
1
1
1
1
PM22
PM21
PM20
PM2
FF22H
FFH
R/W
1
1
1
1
1
PM32
PM31
PM30
PM3
FF23H
FFH
R/W
PM47
PM46
PM45
PM44
PM43
PM42
PM41
PM40
PM4
FF24H
FFH
R/W
1
1
1
1
PM53
PM52
PM51
PM50
PM5
FF25H
FFH
R/W
PUOm
0
1
Port m On-Chip Pull-Up Resistor Selection
(m = 0 to 5)
On-chip pull-up resistor not used
On-chip pull-up resistor used
0
0
PUO5
PUO4
PUO3
PUO2
PUO1
PUO0
PUO
7
6
<5>
<4>
Symbol
Address
After Reset
R/W
FFF7H
00H
R/W
<3>
<2>
<1>
<0>
www.DataSheet4U.com
Содержание UPD789022
Страница 2: ...User s Manual U11919EJ3V0UM00 2 MEMO www DataSheet4U com ...
Страница 8: ...User s Manual U11919EJ3V0UM00 8 MEMO www DataSheet4U com ...
Страница 12: ...User s Manual U11919EJ3V0UM00 12 MEMO www DataSheet4U com ...
Страница 22: ...User s Manual U11919EJ3V0UM00 22 MEMO www DataSheet4U com ...
Страница 32: ...User s Manual U11919EJ3V0UM00 32 MEMO www DataSheet4U com ...
Страница 84: ...User s Manual U11919EJ3V0UM00 84 MEMO www DataSheet4U com ...
Страница 92: ...User s Manual U11919EJ3V0UM00 92 MEMO www DataSheet4U com ...
Страница 104: ...User s Manual U11919EJ3V0UM00 104 MEMO www DataSheet4U com ...
Страница 166: ...User s Manual U11919EJ3V0UM00 166 MEMO www DataSheet4U com ...
Страница 178: ...User s Manual U11919EJ3V0UM00 178 MEMO www DataSheet4U com ...
Страница 184: ...User s Manual U11919EJ3V0UM00 184 MEMO www DataSheet4U com ...
Страница 204: ...User s Manual U11919EJ3V0UM00 204 MEMO www DataSheet4U com ...
Страница 206: ...User s Manual U11919EJ3V0UM00 206 MEMO www DataSheet4U com ...
Страница 212: ...User s Manual U11919EJ3V0UM00 212 MEMO www DataSheet4U com ...