R_CSIHm_Extended_Data_Master_Send


Start CSIH extended data transmission by master mode.

Remark 1.

This API function repeats the 2 byte-level CSIH transmission from the buffer specified in argument tx_buf the number of bits specified in argument tx_bit_num.

Remark 2.

R_CSIHm_Start must be called before this API function is called.

[Syntax]

#include    "r_cg_macrodriver.h"
MD_STATUS    R_CSIHm_Extended_Data_Master_Send ( const uint16_t * tx_buf, uint16_t tx_bit_num, uint32_t chipId );

Remark

m is the channel number.

[Argument(s)]

I/O

Argument(s)

Description

I

const uint16_t * tx_buf;

Pointer to a buffer storing the transmission data

I

uint16_t tx_bit_num;

Number of bits to send

I

uint32_t chipId;

Set chip select

[[Return value]

Macro

Description

MD_OK

Normal completion

MD_ARGERROR

Invalid argument specification