Renesas Electronics
Below is a list of API functions output by the Code Generator for serial communications interface use.
Table 3.25
API Functions: [Serial Communications Interface]
API Function Name
Function
R_SCIn_Create
Performs initialization necessary to control the serial communications interface.
R_SCIn_Create_UserInit
Performs user-defined initialization related to the serial communications interface.
r_scin_transmitend_interrupt
Performs processing in response to the transmit-end interrupts.
r_scin_transmit_interrupt
Performs processing in response to the transmit-data-empty interrupts.
r_scin_receiveend_interrupt
Performs processing in response to the receive-data-full interrupts.
r_scin_receiveerror_interrupt
Performs processing in response to the receive error interrupts.
R_SCIn_Start
Starts SCI communication.
R_SCIn_Stop
Ends SCI communication.
R_SCIn_Serial_Send
Starts SCI transmission (synchronous mode).
R_SCIn_Serial_Receive
Starts SCI reception (synchronous mode).
R_SCIn_Serial_Multiprocessor_Send
Starts SCI transmission (multi-processor communications function).
R_SCIn_Serial_Multiprocessor_Receive
Starts SCI reception (multi-processor communications function).
R_SCIn_Serial_Send_Receive
Starts SCI transmission/reception (clock synchronous mode).
R_SCIn_SmartCard_Send
Starts SCI transmission (smart card interface mode).
R_SCIn_SmartCard_Receive
Starts SCI reception (smart card interface mode).
R_SCIn_IIC_Master_Send
Starts SCI master transmission (simple I2C mode).
R_SCIn_IIC_Master_Receive
Starts SCI master reception (simple I2C mode).
R_SCIn_SPI_Master_Send
Starts SCI master transmission (simple SPI mode).
R_SCIn_SPI_Master_Send_Receive
Starts SCI master transmission/reception (simple SPI mode).
R_SCIn_SPI_Slave_Send
Starts SCI slave transmission (simple SPI mode).
R_SCIn_SPI_Slave_Send_Receive
Starts SCI slave transmission/reception (simple SPI mode).
R_SCIn_IIC_StartCondition
Sends the start bit.
R_SCIn_IIC_StopCondition
Sends the stop bit.
r_scin_callback_transmitend
r_scin_callback_receiveend
r_scin_callback_receiveerror