Datasheet

Section 8 I/O Ports
Rev.7.00 Dec. 24, 2008 Page 235 of 698
REJ09B0074-0700
8.6.4 Port A Pull-Up MOS Control Register (PAPCR)
PAPCR controls the on/off state of the port A input pull-up MOS. PAPCR is valid for port input
and SCI input pins.
Bit Bit Name Initial Value R/W Description
7 to
4
Undefined Reserved
These bits are undefined and cannot be modified.
3
2
1
0
PA3PCR
PA2PCR
PA1PCR
PA0PCR*
0
0
0
0
R/W
R/W
R/W
R/W
When a pin functions as an input port, setting the
corresponding bit to 1 turns on the input pull-up MOS for
that pin.
Note: * Reserved in the H8S/2212 Group. If this bit is read, an undefined value will be read. This bit
cannot be modified.
8.6.5 Port A Open-Drain Control Register (PAODR)
PAODR specifies an output type of the port A. PAODR is valid for port output and SCI output
pins.
Bit Bit Name Initial Value R/W Description
7 to
4
Undefined Reserved
These bits are undefined and cannot be modified.
3
2
1
0
PA3ODR
PA2ODR
PA1ODR
PA0ODR*
0
0
0
0
R/W
R/W
R/W
R/W
Setting a PAODR bit to 1 makes the corresponding port A
pin an NMOS open-drain output pin, while clearing the bit
to 0 makes the pin a CMOS output pin.
Note: * Reserved in the H8S/2212 Group. If this bit is read, an undefined value will be read. This bit
cannot be modified.