Starts SCI transmission/reception (clock synchronous mode).
This API function repeats SCI transmission in byte units the number of times specified by the argument tx_num from the buffer at the location specified by the argument tx_buf. |
This API function repeats SCI reception processing in byte units the number of times specified by the argument rx_num and then stores the received data in the buffer at the location specified by the argument rx_buf. |
When performing a SCI transmission/reception, R_SCIn_Start must be called before this API function is called. |
#include "r_cg_macrodriver.h" MD_STATUS R_SCIn_Serial_Send_Receive ( uint8_t * const tx_buf, uint16_t tx_num, uint8_t * const rx_buf, uint16_t rx_num ); |