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