Stopserialsending - Renesas M16C/62P Group Reference Manual

Group renesas embedded application programming interface
Hide thumbs Also See for M16C/62P Group:
Table of Contents

Advertisement

__StopSerialSending

Synopsis
<Stop transmission>
Boolean __StopSerialSending(unsigned long data)
Description
Stops transmission of serial communication.
[data]
For data, the following values can be set.
Return value
If transmission of serial communication was successfully stopped, RAPI_TRUE is
returned; if failed, RAPI_FALSE is returned.
Functionality
Serial I/O
__StartSerialReceiving
Reference
Remark
For the M16C SI/03 and SI/04, this API cannot be used.
When operating in clock synchronous serial communication mode, data reception is
stopped at the same time by this API.
If an undefined value is specified in the argument, operation of the API cannot be
guaranteed.
Program example
#include "rapi_sif_m16c_62p"
void func( void )
{
}
Rev.1.00
2007.11.1
REC10B0002-0100
data
Setup data
RAPI_COM1
UART0
RAPI_COM3
UART2
/* Stop sending data in serial communication */
__StopSerialSending ( RAPI_COM1 );
RAPI_COM2
37
UART1

Advertisement

Table of Contents
loading

Table of Contents