Datasheet

Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 367 of 980
REJ09B0050-0600
9.8.4 Port A MOS Pull-Up Control Register (PAPCR)
PAPCR controls the MOS input pull-up function. Bits 7 to 5 are valid in modes 1 and 2 and all the
bits are valid in modes 4 and 7.
Bit Bit Name Initial Value R/W Description
7 PA7PCR 0 R/W
6 PA6PCR 0 R/W
5 PA5PCR 0 R/W
4 PA4PCR 0 R/W
When PADDR = 0 (input port), setting the
corresponding bit to 1 turns on the MOS input pull-
up for that pin.
3 PA3PCR 0 R/W
2 PA2PCR 0 R/W
1 PA1PCR 0 R/W
0 PA0PCR 0 R/W
9.8.5 Port A Open Drain Control Register (PAODR)
PAODR specifies an output type of port A.
Bit Bit Name Initial Value R/W Description
7 PA7ODR 0 R/W
6 PA6ODR 0 R/W
5 PA5ODR 0 R/W
4 PA4ODR 0 R/W
When not specified for address output, setting the
corresponding bit to 1 specifies a pin output type to
NMOS open-drain output, while clearing this bit to 0
specifies that to CMOS output.
3 PA3ODR 0 R/W
2 PA2ODR 0 R/W
1 PA1ODR 0 R/W
0 PA0ODR 0 R/W