English
Language : 

SH7014 Datasheet, PDF (515/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
17. I/O Ports (I/O)
17.4.2 Port C Data Register (PCDR)
Bit: 15
14
13
12
11
10
9
8
PC15DR PC14DR PC13DR PC12DR PC11DR PC10DR PC9DR PC8DR
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
Bit: 7
6
5
4
3
2
1
0
PC7DR PC6DR PC5DR PC4DR PC3DR PC2DR PC1DR PC0DR
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
PCDR is a 16-bit read/write register that stores data for port C. The bits PC15DR to PC0DR
correspond to the PC15/A15 to PC0/A0 pins. When the pins are used as ordinary outputs, they
will output whatever value is written in the PCDR; when PCDR is read, the register value will be
read regardless of the pin status. When the pins are used as ordinary inputs, the pin status rather
than the register value is read directly when PCDR is read. When a value is written to PCDR, that
value can be written into PCDR, but it will not affect the pin status. Table 17.9 shows the
read/write operations of the port C data register.
PCDR is initialized by an external power-on reset. However, PCDR is not initialized for a reset by
WDT, standby mode, or sleep mode.
The settings in this register are functional only in the SH7016 and SH7017. In the SH7014, there
are no pins corresponding to this register, and it should not be read or written to.
Table 17.9 Read/Write Operation of the Port C Data Register (PCDR)
PCIOR
0
1
Pin Status
Ordinary input
Other function
Ordinary output
Other function
Read
Pin status
Pin status
PCDR value
PCDR value
Write
Can write to PCDR, but it has no effect on pin status
Can write to PCDR, but it has no effect on pin status
Value written is output by pin
Can write to PCDR, but it has no effect on pin status
Rev.5.00 Sep. 27, 2007 Page 481 of 716
REJ09B0398-0500