Datasheet

Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 495 of 926
REJ09B0283-0300
10.11.4 Port C Pull-Up MOS Control Register (PCPCR)
PCPCR controls the on/off state of input pull-up MOS of port C. PCPCR is valid in modes 3
*
, 4,
and 7.
Bit Bit Name Initial Value R/W Description
7 PC7PCR 0 R/W
6 PC6PCR 0 R/W
5 PC5PCR 0 R/W
4 PC4PCR 0 R/W
3 PC3PCR 0 R/W
2 PC2PCR 0 R/W
1 PC1PCR 0 R/W
0 PC0PCR 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.
Note: * Only in H8S/2678R Group.
10.11.5 Pin Functions
Port C pins also function as address outputs. The correspondence between the register
specification and the pin functions is shown below.
PC7/A7, PC6/A6, PC5/A5, PC4/A4, PC3/A3, PC2/A2, PC1/A1, PC0/A0
The pin function is switched as shown below according to the operating mode, bit EXPE, and
bit PCDDR.
Operating
mode
1, 2, 5,
6
43
*
, 7
EXPE 0 1
PCDDR 0 1 0 1 0 1
Pin function Address
output
PC
input
Address
output
PC
input
PC
output
PC
input
Address
output
Note: * Only in H8S/2678R Group.