Rev.1.01 2007.02.16
RJJ10J1643-0101
28
Functionality
Serial I/O
Remark
•
The specifiable serial ports differ with each CPU used.
•
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
Program example
#include ”rapi_sif_r8c_13.h”
Boolean func( void )
{
/* Set the data of RAPI_COM1 to serial driver */
return _BasicSetSerialFormat(RAPI_COM1 | RAPI_SM_SYNC | RAPI_CKDIR_INT
|
RAPI_BCSS_F1 | RAPI_DPOL_NON | RAPI_LSB_SEL,
20);
}