Start UART data transmission.
Remark 1. | This API function repeats the 1 byte-level UART transmission from the buffer specified in argument tx_buf the number of times specified in argument tx_num. |
Remark 2. | R_UARTm_Start must be called before this API function is called. |
[Syntax]
#include "r_cg_macrodriver.h"
MD_STATUS R_CUARTm_Send ( const uint16_t * tx_buf, uint16_t tx_num );
|
Remark | m is the channel number. |
[Argument(s)]
|
|
|
|
const uint16_t * tx_buf;
|
Pointer to a buffer storing the transmission data
|
|
uint16_t tx_num;
|
Total amount of data to send
|
[[Return value]
|
|
MD_OK
|
Normal completion
|
MD_ARGERROR
|
Invalid argument specification
|