
139
Chapter 4
Port Functions
User’s Manual U16702EE3V2UD00
(e) P5 pin control mode settings
(f) Pull-up resistor option register 5 (PU5)
This is an 8-bit register used to set whether to use an on-chip pull-up resistor.
This register can be read and written in 8-bit or 1-bit units.
Figure 4-38:
Pull-up Resistor Option Register 5 (PU5) Format
PFC53
P53 Pin Control Mode Specification
0
TIQ00 input (TMQ0 input0)
1
TOQ00 output (TMQ0 output0)
PFC52
P52 Pin Control Mode Specification
0
TIQ03 input (TMQ0 input3)
1
TOQ03 output (TMQ0 output3)
PFC51
P51 Pin Control Mode Specification
0
TIQ02 input (TMQ0 input2)
1
TOQ02 output (TMQ0 output2)
PFC50
P50 Pin Control Mode Specification
0
TIQ01 input (TMQ0 input1)
1
TOQ01 output (TMQ0 output1)
Symbol
7
6
5
4
3
2
1
0
Address
After reset
PU5
0
0
PU55
PU54
PU53
PU52
PU51
PU50
FFFFFC4AH
00H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PU5n
Connection of a pull-up resistor control (n = 0 to 5)
0
Not connected
1
Connected
electronic components distributor