CHAPTER 4 PORT FUNCTIONS
User’s Manual U16899EJ2V0UD
107
(3) Pull-up resistor option registers (PU0, PU1, PU3 to PU5, PU7, PU12, and PU14)
These registers specify whether the on-chip pull-up resistors of P00 to P06, P10 to P17, P30 to P33, P40 to P43,
P50 to P53, P70 to P77, P120, or P140 and P141 are to be used or not. On-chip pull-up resistors can be used in
1-bit units only for the bits set to input mode of the pins to which the use of an on-chip pull-up resistor has been
specified in PU0, PU1, PU3 to PU5, PU7, PU12, and PU14. On-chip pull-up resistors cannot be connected to
bits set to output mode and bits used as alternate-function output pins, regardless of the settings of PU0, PU1,
PU3 to PU5, PU7, PU12, and PU14.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears these registers to 00H.
Figure 4-23. Format of Pull-up Resistor Option Register
7
0
Symbol
PU0
6
PU06
5
PU05
4
PU04
3
PU03
2
PU02
1
PU01
0
PU00
Address
FF30H
After reset
00H
R/W
R/W
7
PU17
PU1
6
PU16
5
PU15
4
PU14
3
PU13
2
PU12
1
PU11
0
PU10
FF31H
00H
R/W
7
0
PU3
6
0
5
0
4
0
3
PU33
2
PU32
1
PU31
0
PU30
FF33H
00H
R/W
7
0
PU4
6
0
5
0
4
0
3
PU43
2
PU42
1
PU41
0
PU40
FF34H
00H
R/W
7
0
PU5
6
0
5
0
4
0
3
PU53
2
PU52
1
PU51
0
PU50
FF35H
00H
R/W
7
PU77
PU7
6
PU76
5
PU75
4
PU74
3
PU73
2
PU72
1
PU71
0
PU70
FF37H
00H
R/W
7
0
PU12
6
0
5
0
4
0
3
0
2
0
1
0
0
PU120
FF3CH
00H
R/W
7
0
PU14
6
0
5
0
4
0
3
0
2
0
1
PU141
0
PU140
FF3EH
00H
R/W
PUmn
Pmn pin on-chip pull-up resistor selection
(m = 0, 1, 3 to 5, 7, 12, 14; n = 0 to 7)
0
On-chip pull-up resistor not connected
1
On-chip pull-up resistor connected
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...