R_UARTFn_Send

Starts UARTF data transmission.

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

Remark 2. When performing a UARTF transmission, R_UARTFn_Start must be called before this API function is called.

Remark 2. If the asynchronous serial interface LIN-UART (UARTF) is used in expansion bit mode, then store the data to send in the buffer specified by argument tx_buf, in the following format.
"8-bit data", "Expansion bit", "8-bit data", "Expansion bit", ...

[Syntax]

#include r_cg_macrodriver.h

MD_STATUS R_UARTFn_Send ( uint8_t * const tx_buf, uint16_t tx_num );

Remark n is the channel number.

[Argument(s)]

I/O

Argument

Description

I

uint8_t * const 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

MD_DATAEXISTS

Executing transmission process