__BasicStopSerialReceiving
Synopsis
<Stop reception>
Boolean Rapi_BasicStopSerialReceiving(unsigned long data)
data
Description
Stops receiving data in serial communication
[data]
For data, the following values can be set.
RAPI_COM1
RAPI_COM3
Return value
If data reception in serial communication was successfully stopped, RAPI_TRUE is
returned; if failed, RAPI_FALSE is returned.
Functionality
Serial I/O
__BasicStartSerialReceiving
Reference
•
Remark
For the M16C SI/03 and SI/04, this API cannot be used.
•
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
Setup data
UART0
UART2
/* Stop receiving data in serial communication */
__BasicStopSerialReceiving ( RAPI_COM1 );
RAPI_COM2
25
UART1
Need help?
Do you have a question about the M16C/62P Group and is the answer not in the manual?