Datasheet

Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 486 of 926
REJ09B0283-0300
10.9.4 Port A Pull-Up MOS Control Register (PAPCR)
PAPCR controls the input pull-up MOS function. Bits 7 to 5 are valid in modes 1, 2, 5, and 6, and
all the bits are valid in modes 3
*
, 4, and 7.
Note: * Only in H8S/2678R Group.
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
3 PA3PCR 0 R/W
2 PA2PCR 0 R/W
1 PA1PCR 0 R/W
0 PA0PCR 0 R/W
When a pin function is specified to an input port,
setting the corresponding bit to 1 turns on the input
pull-up MOS for that pin.
10.9.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
3 PA3ODR 0 R/W
2 PA2ODR 0 R/W
1 PA1ODR 0 R/W
0 PA0ODR 0 R/W
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.
10.9.6 Port Function Control Register 1 (PFCR1)
PFCR1 performs I/O port control. Bits 7 to 5 are valid in modes 1, 2, 5, and 6, and all the bits are
valid in modes 3
*
, 4, and 7.
Note: * Only in H8S/2678R Group.