R_CSIHm_Extended_Data_Master_Receive


Start CSIH extended data reception by master mode.

Remark 1.

This API function performs 2 byte-level CSIH reception the number of bots specified by the argument rx_bit_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_Master_Receive ( const uint16_t * rx_buf, uint16_t rx_bit_num, uint32_t chipId );

Remark

m is the channel number.

[Argument(s)]

I/O

Argument(s)

Description

O

const uint16_t * rx_buf;

Pointer to a buffer to store the received data

I

uint16_t rx_bit_num;

Number of bits to receive

I

uint32_t chipId;

Set chip select

[Return value]

Macro

Description

MD_OK

Normal completion

MD_ARGERROR

Invalid argument specification