R_CSIHm_Extended_Data_Slave_Receive


Start CSIH extended data reception by slave mode.

Remark 1.

This API function performs 2 byte-level CSIH reception the number of bits 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_CSIHm_Start is then called.

[Syntax]

#include    "r_cg_macrodriver.h"
MD_STATUS    R_CSIHm_Slave_Receive ( const uint16_t * rx_buf, uint16_t rx_bit_num );

Remark

m is the channel number.

[Argument(s)]

I/O

Argument(s)

Description

O

const uint16_t * rx_buf;

Pointer to a buffer storing the received data

I

uint16_t rx_bit_num;

Number of bits to receive

[Return value]

 

Macro

Description

MD_OK

Normal completion

MD_ARGERROR

Invalid argument specification