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
7
PA7PCR
0
6
PA6PCR
0
5
PA5PCR
0
4
PA4PCR
0
3
PA3PCR
0
2
PA2PCR
0
1
PA1PCR
0
0
PA0PCR
0
9.8.5
Port A Open Drain Control Register (PAODR)
PAODR specifies an output type of port A.
Bit
Bit Name
Initial Value
7
PA7ODR
0
6
PA6ODR
0
5
PA5ODR
0
4
PA4ODR
0
3
PA3ODR
0
2
PA2ODR
0
1
PA1ODR
0
0
PA0ODR
0
R/W
Description
R/W
When PADDR = 0 (input port), setting the
corresponding bit to 1 turns on the MOS input pull-up
R/W
for that pin.
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
R/W
When not specified for address output, setting the
corresponding bit to 1 specifies a pin output type to
R/W
NMOS open-drain output, while clearing this bit to 0
R/W
specifies that to CMOS output.
R/W
R/W
R/W
R/W
R/W
Rev. 2.00, 05/03, page 343 of 820