beautypg.com

Renesas RJJ10J1643-0101 User Manual

Page 27

background image

Rev.1.01 2007.02.16
RJJ10J1643-0101

25

If the API is used in clock synchronous serial communication mode, do not set these
values.

(M16C) (UART0, UART1, UART2)

RAPI_PARITY_NON

No parity bit

RAPI_PARITY_EVEN

Even parity bit

RAPI_PARITY_ODD

Odd parity bit

For the clock polarity of serial communication, the following values can be set.

If the API is used in clock asynchronous serial communication mode, do not set these
values.

(M16C) (UART0, UART1, UART2)

RAPI_DPOL_NON

Polarity not inverted

RAPI_DPOL_INV Polarity

inverted

(M16C) (SI/O3, SI/O4)

RAPI_SIO_DPOL_NON

Polarity not inverted

RAPI_SIO_DPOL_INV Polarity

inverted

For the count source of the built-in baud rate generator, the following values can be set.

(M16C) (UART0, UART1, UART2)

RAPI_BCSS_F1 f1SIO

RAPI_BCSS_F2 f2SIO

RAPI_BCSS_F8 f8SIO

RAPI_BCSS_F32 f32SIO

(M16C) (SI/O3, SI/O4)

RAPI_SIO_BCSS_F1

f1SIO RAPI_SIO_BCSS_F2

f2SIO

RAPI_SIO_BCSS_F8

f8SIO RAPI_SIO_BCSS_F32

f32SIO

For the _CTS/_RTS function, the following values can be set.

If the internal clock is selected for use in clock synchronous serial communication
mode, the _RTS function has no effect.

(M16C) (UART0, UART1, UART2)

RAPI_CTSRTS_DIS

_CTS/_RTS functions are not used.

RAPI_CTS_SEL

_CTS function is selected.

RAPI_RTS_SEL

_RTS function is selected.

For the transfer format, the following values can be set.

If the data length selected for use in clock asynchronous serial communication mode is
7 or 9 bits long, do not set these values.

(M16C) (UART0, UART1, UART2)

RAPI_LSB_SEL

LSB first

RAPI_MSB_SEL

MSB first

(M16C) (SI/O3, SI/O4)

RAPI_SIO_LSB_SEL

LSB first

RAPI_SIO_MSB_SEL

MSB first

For serial data logic switchover, the following values can be set.

(M16C) (UART2)

RAPI_LOGIC_NO_REV

The value written in the transmit buffer register does not have its
logic inverted.

RAPI_LOGIC_REV

The value written in the transmit buffer register is inverted before
being transmitted.

(R8C)

RAPI_COM1 UART0

RAPI_COM2 UART1

For serial communication mode, the following values can be set.