Starts CSI data transmission/reception.
Remark 1. This API function repeats the byte-level CSI transmission from the buffer specified in argument tx_buf the number of times specified in argument tx_num.
Remark 2. This API function performs byte-level CSI reception the number of times specified by the argument tx_num, and stores the data in the buffer specified by the argument rx_buf.
Remark 3. When performing a CSI reception, R_CSImn_Start must be called before this API function is called.
[Syntax]
#include “r_cg_macrodriver.h”
MD_STATUS  
R_CSImn_Send_Receive ( uint8_t * const tx_buf, uint16_t 
tx_num,
 uint8_t * const rx_buf );
Remark m is the unit number, and n is the channel number.
[Argument(s)]
| I/O | Argument | Description | 
| I | uint8_t * const tx_buf; | Pointer to a buffer storing the transmission data | 
| I | uint16_t tx_num; | Total amount of data to send/receive | 
| O | uint8_t * const rx_buf; | Pointer to a buffer to store the received data | 
[Return value]
| Macro | Description | 
| MD_OK | Normal completion | 
| MD_ARGERROR | Invalid argument specification |