R_SCI3m_Send


Starts SCI3 data transmission.

Remark 1.

This API function repeats the byte-level SCI3 transmission from the buffer specified in argument tx_buf the number of times specified in argument tx_num.

Remark 2.

R_SCI3m_Start must be called before this API function is called.

[Syntax]

#include    "r_cg_macrodriver.h"
MD_STATUS   R_SCI3m_Send ( const uint8_t * tx_buf, uint16_t tx_num );

Remark

nは, is the channel numberを意味します。

[Argument(s)]

I/O

Argument(s)

Description

I

const uint8_t * tx_buf;

Pointer to a buffer storing the transmission data

I

uint16_t  tx_num;

Total amount of data to send

[Return value]

Macro

Description

MD_OK

Normal completion

MD_ARGERROR

Invalid argument specification