Everything

R_CSIHm_Master_Receive


Start CSIH data reception by master mode.

Remark 1.

This API function performs 2 byte-level CSIH 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_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_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_num;

Total amount of data to receive

I

uint32_t chipId;

Set chip select

[Return value]

Macro

Description

MD_OK

Normal completion

MD_ARGERROR

Invalid argument specification