Datasheet
Rev.6.00 Oct.28.2004 page 314 of 1016
REJ09B0138-0600H
Note: * Manual reset is only supported in the H8S/2357 ZTAT.
Port C Register (PORTC) (On-Chip ROM Version Only)
Bit:76543210
PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
Initial value : —* —* —* —* —* —* —* —*
R/W:RRRRRRRR
Note: * Determined by state of pins PC
7
to PC
0
.
PORTC is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of output data for the port C
pins (PC
7
to PC
0
) must always be performed on PCDR.
If a port C read is performed while PCDDR bits are set to 1, the PCDR values are read. If a port C read is performed while
PCDDR bits are cleared to 0, the pin states are read.
After a power-on reset and in hardware standby mode, PORTC contents are determined by the pin states, as PCDDR and
PCDR are initialized. PORTC retains its prior state after a manual reset*, and in software standby mode.
Note: * Manual reset is only supported in the H8S/2357 ZTAT.
Port C MOS Pull-Up Control Register (PCPCR) (On-Chip ROM Version Only)
Bit:76543210
PC7PCR PC6PCR PC5PCR PC4PCR PC3PCR PC2PCR PC1PCR PC0PCR
Initial value : 0 0 0 0 0 0 0 0
R/W : R/W R/W R/W R/W R/W R/W R/W R/W
Note: Setting is prohibited in the H8S/2352, H8S/2394, H8S/2392, and H8S/2390.
PCPCR is an 8-bit readable/writable register that controls the MOS input pull-up function incorporated into port C on an
individual bit basis.
When a PCDDR bit is cleared to 0 (input port setting) in mode 6 or 7, setting the corresponding PCPCR bit to 1 turns on
the MOS input pull-up for the corresponding pin.
PCPCR is initialized to H'00 by a power-on reset, and in hardware standby mode. It retains its prior state after a manual
reset*, and in software standby mode.
Note: * Manual reset is only supported in the H8S/2357 ZTAT.