Rev. 2.00, 09/03, page 525 of 690
20.14.1
Register Description
Port SC has the following register. For details on the register address and access size, see section
24, List of Registers.
•
SC port data register (SCPDR)
20.14.2
Port SC Data Register (SCPDR)
SCPDR is an 8-bit readable/writable that stores data for pins SCPT5 to SCPT0. Bits SCP5DT to
SCP0DT correspond to pins SCPT5 to SCPT0. When the pin function is general output port, if the
port is read, the value of the corresponding SCPDR bit is returned directly. When the function is
general input port, if the port is read, the corresponding pin level is read.
When the RE bit of SCSCR_2 or SCSCR_0 in the serial communication interface with FIFO
(SCIF) is set to 1, the RxD2 and RxD0 pins become input pins, and their states can be read
regardless of the setting of SCPCR.
Bit
Bit
Name
Initial
Value
R/W
Description
7, 6
—
0
R
Reserved
These bits are always read as 0. The write value should
always be 0.
5 to 0
SCP5DT
to
SCP0DT
0
R/W
Table 20.14 shows the function of SCPDR.
Table 20.14 SC Port Data Register (SCPDR) Read/Write Operations
•
SCP1DR and SCP3DR to SCP5DR
SCPCR State
SCPnMD1 SCPnMD0 Pin State
Read
Write
0
0
Other function
SCPDR value
Data can be written to SCPDR
but no effect on pin state.
1
Output
SCPDR value
Written data is output from the
pin.
1
0
Input (Pull-up MOS
on)
Pin state
Data can be written to SCPDR
but no effect on pin state.
1
Input (Pull-up MOS
off)
Pin state
Data can be written to SCPDR
but no effect on pin state.
Note: n= 1 and 3 to 5
Содержание SH7705
Страница 2: ......
Страница 46: ...Rev 2 00 09 03 page xlvi of xlvi Appendix Table A 1 I O Port States in Each Processing State 679 ...
Страница 70: ...Rev 2 00 09 03 page 24 of 690 ...
Страница 194: ...Rev 2 00 09 03 page 148 of 690 ...
Страница 284: ...Rev 2 00 09 03 page 238 of 690 ...
Страница 338: ...Rev 2 00 09 03 page 292 of 690 ...
Страница 354: ...Rev 2 00 09 03 page 308 of 690 ...
Страница 374: ...Rev 2 00 09 03 page 328 of 690 ...
Страница 420: ...Rev 2 00 09 03 page 374 of 690 ...
Страница 476: ...Rev 2 00 09 03 page 430 of 690 ...
Страница 482: ...Rev 2 00 09 03 page 436 of 690 ...
Страница 552: ...Rev 2 00 09 03 page 506 of 690 ...
Страница 630: ...Rev 2 00 09 03 page 584 of 690 ...
Страница 739: ...SH7705 Group Hardware Manual REJ09B0082 0200O ...