87
CHAPTER 5 PORT FUNCTIONS
(2) Pull-up resistor option register (PU0)
This register is used to set whether to use an internal pull-up resistor at port 0 or not. A pull-up resistor is internally
used at bits which are set to the input mode at a port where pull-up resistor use has been specified with PU0.
No pull-up resistors can be used to the bits set to the output mode irrespective of PU0 setting.
PU0 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to 00H.
Figure 5-14. Pull-Up Resistor Option Register (PU0) Format
Address: FF30H After Reset : 00H R/W
Symbol
7
6
5
4
3
2
1
0
PU0
PU07
PU06
PU05
PU04
PU03
PU02
PU01
PU00
PU0m
P0m Pin Internal Pull-Up Resistor Select (m = 0 to 7)
0
On-chip pull-up resistor not used
1
On-chip pull-up resistor used
Содержание mPD780973 Series
Страница 2: ...2 MEMO ...
Страница 66: ...66 MEMO ...
Страница 98: ...98 MEMO ...
Страница 138: ...138 MEMO ...
Страница 164: ...164 MEMO ...
Страница 182: ...182 MEMO ...
Страница 204: ...204 MEMO ...
Страница 244: ...244 MEMO ...
Страница 262: ...262 MEMO ...
Страница 278: ...278 MEMO ...
Страница 290: ...290 MEMO ...