beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 51

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

49

__StopSerialReceiving

Synopsis

reception>

Boolean __StopSerialReceiving(unsigned long data)

data Setup

data

Description

Stops reception of serial communication.

[data]

For data, the following values can be set.

(M16C)

RAPI_COM1 UART0

RAPI_COM2 UART1

RAPI_COM3 UART2

(R8C)

RAPI_COM1 UART0

RAPI_COM2 UART1

(H8/300H)

RAPI_COM1

SCI3 channel 1

RAPI_COM2

SCI3 channel 2

RAPI_COM3

SCI3 channel 3

Return value

If reception of serial communication was successfully stopped, RAPI_TRUE is
returned; if failed, RAPI_FALSE is returned.

Functionality

Serial

I/O

Reference

__StartSerialSending

Remark

For the M16C SI/03 and SI/04, this API cannot be used.

The specifiable serial ports differ with each CPU used.

If an undefined value is specified in the argument, operation of the API cannot be

guaranteed.

Program example

#include ”rapi_sif_r8c_13.h”

void func( void )
{
………………
/* Stop receiving data in serial communication */
__StopSerialReceiving ( RAPI_COM1 );
………………
}