English
Language : 

HD6417034 Datasheet, PDF (482/691 Pages) Renesas Technology Corp – SuperH RISC ENGINE SH7032 AND SH7034
16.4.2 Port C Data Register (PCDR)
PCDR is an 16-bit read-only register that stores data for port C (writes to bits 15–8 are ignored,
and the read value is always undefined). Bits PC7DR–PC0DR correspond to the PC7/AN7–
PC0/AN0 pins respectively. Any values written to these bits will be ignored and will not affect the
pin status. When the bits are read, the pin status rather than the bit value is read directly. When
analog input of the A/D converter is being sampled, however, every bit is read as 1. Table 16.6
shows port C data register read/write operations (bits 7–0).
PCDR is not initialized by a power-on reset or manual reset, or in standby mode or sleep mode
(bits 15–8 are always undefined; bits 7–0 always reflect the pin status).
Bit: 15
14
13
12
11
10
9
8
Bit name: —
—
—
—
—
—
—
—
Initial value: —
—
—
—
—
—
—
—
R/W: R
R
R
R
R
R
R
R
Bit: 7
6
5
4
3
2
1
0
Bit name: PC7DR PC6DR PC5DR PC4DR PC3DR PC2DR PC1DR PC0DR
Initial value: —
—
—
—
—
—
—
—
R/W: R
R
R
R
R
R
R
R
Table 16.6 Port C Data Register (PCDR) Read/Write Operations
Pin I/O Pin Function
Input
General
purpose
ANn
ANn: Analog input
Read
Write
Pin status read Ignored (no effect on pin status)
Read as 1
Ignored (no effect on pin status)
446