Renesas R5S72626 Doll User Manual


  Open as PDF
of 2152
 
Section 15 Serial Communication Interface with FIFO
Page 742 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
15.3.11 Serial Port Register (SCSPTR)
SCSPTR controls input/output and data of pins multiplexed to the functions of this module. Bits 7
and 6 can control input/output data of RTS pin. Bits 5 and 4 can control input/output data of CTS
pin. Bits 3 and 2 can control input/output data of SCK pin. Bits 1 and 0 can input data from RxD
pin and output data to TxD pin, so they control break of serial transmitting/receiving.
The CPU can always read and write to SCSPTR.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0000000001010000
R R R R R R R R R/W R/W R/W R/W R/W R/W R/W R/W
Bit:
Initial value:
R/W:
- - - - - - - - RTSIO RTSDT CTSIO CTSDT SCKIO SCKDT SPB2IOSPB2DT
Bit Bit Name
Initial
Value R/W Description
15 to 8 All 0 R Reserved
These bits are always read as 0. The write value should
always be 0.
7 RTSIO 0 R/W RTS Port Input/Output
Indicates input or output of the serial port RTS pin.
When the RTS pin is actually used as a port outputting
the RTSDT bit value, the MCE bit in SCFCR should be
cleared to 0.
0: RTSDT bit value not output to RTS pin
1: RTSDT bit value output to RTS pin
6 RTSDT 1 R/W RTS Port Data
Indicates the input/output data of the serial port RTS
pin. Input/output is specified by the RTSIO bit. For
output, the RTSDT bit value is output to the RTS pin.
The RTS pin status is read from the RTSDT bit
regardless of the RTSIO bit setting. However, RTS
input/output must be set in the PFC.
0: Input/output data is low level
1: Input/output data is high level