__BasicStartSerialSending
Synopsis
<Transmit 1 data>
Boolean _BasicStartSerialSending(unsigned long data1, unsigned int data2)
Starts sending 1 data of serial communication.
Description
For data1, the following values can be set.
If data transmission in serial communication was successfully started, RAPI_TRUE is
Return value
returned; if failed, RAPI_FALSE is returned.
Functionality
Serial I/O
Reference
__BasicSendingStatusRead,
•
If an undefined value is specified in the argument, operation of the API cannot be
Remark
guaranteed.
Program example
#include "rapi_sif_m16c_62p"
Void func( void )
{
}
Rev.1.00
2007.11.1
REC10B0002-0100
data
Setup data
data
Transmit data
RAPI_COM1
UART0
RAPI_COM3
UART2
RAPI_COM5
SI/O4
..........
__BasicStartSerialSending( RAPI_COM1, 0x00AA );
..........
RAPI_COM2
RAPI_COM4
__BasicStopSerialSending
22
UART1
SI/O3