Starts SCI3 data reception.
Remark 1. | This API function performs byte-level SCI3 reception the number of times specified by the argument rx_num, and stores the data in the buffer specified by the argument rx_buf. |
Remark 2. | Starts after this API function is called, and R_SCI3m_Start is then called. |
Syntax
#include "r_cg_macrodriver.h"
MD_STATUS R_SCI3m_Receive ( uint8_t * rx_buf, uint16_t rx_num );
|
Remark | m is the channel number. |
Argument(s)
|
|
|
|
uint8_t * rx_buf;
|
Pointer to a buffer storing the received data
|
|
uint16_t rx_num;
|
Total amount of data to receive
|
Return value
|
|
MD_OK
|
Normal completion
|
MD_ARGERROR
|
Invalid argument specification
|