R_RIICn_Slave_Receive


Starts RIIC slave reception.

Remarks 1.

This API function performs byte-level RIIC slave 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.

When performing a RIIC slave reception, R_RIICn_Start must be called before this API function is called.

[Syntax]

#include    "r_cg_macrodriver.h"
void    R_RIICn_Slave_Receive ( uint8_t * const rx_buf, uint16_t rx_num );

Remark

n is the channel number.

[Argument(s)]

I/O

Argument

Description

O

uint8_t * const rx_buf;

Pointer to a buffer to store the reception data

I

uint16_t        rx_num;

Total amount of data to receive

[Return value]

None.