Datasheet

Section 9 I/O Ports
Rev.4.00 Nov. 02, 2005 Page 105 of 304
REJ09B0143-0400
9.3.4 Port Pull-Up Control Register 5 (PUCR5)
PUCR5 controls the pull-up MOS in bit units of the pins set as the input ports.
Bit Bit Name Initial Value R/W Description
7
6
0
0
Reserved
These bits are always read as 0.
5
4
3
2
1
0
PUCR55
PUCR54
PUCR53
PUCR52
PUCR51
PUCR50
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
Only bits for which PCR5 is cleared are valid. The pull-up
MOS of the corresponding pins enter the on-state when
these bits are set to 1, while they enter the off-state when
these bits are cleared to 0.
9.3.5 Pin Functions
The correspondence between the register specification and the port functions is shown below.
P57 pin
Register PMR5 PCR5
Bit Name POF7 PCR57 Pin Function
Setting Value X 0 P57 input pin
0 1 CMOS output
1 1 NMOS open-drain output
Legend: X: Don't care.
P56 pin
Register PMR5 PCR5
Bit Name POF6 PCR56 Pin Function
Setting Value X 0 P56 input pin
0 1 CMOS output
1 1 NMOS open-drain output
Legend: X: Don't care.