Renesas M16C/62P Group Reference Manual page 21

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

Advertisement

If the API is used in clock synchronous serial communication mode, do not set these
values.
(UART0, UART1, UART2)
RAPI_PARITY_NON
RAPI_PARITY_ODD
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.
(UART0, UART1, UART2)
RAPI_DPOL_NON
(SI/O3, SI/O4)
RAPI_SIO_DPOL_NON
For the count source of the built-in baud rate generator, the following values can be set.
(UART0, UART1, UART2)
RAPI_BCSS_F1
RAPI_BCSS_F8
(SI/O3, SI/O4)
RAPI_SIO_BCSS_F1
RAPI_SIO_BCSS_F8
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.
(UART0, UART1, UART2)
RAPI_CTSRTS_DIS
RAPI_CTS_SEL
RAPI_RTS_SEL
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.
(UART0, UART1, UART2)
RAPI_LSB_SEL
(SI/O3, SI/O4)
RAPI_SIO_LSB_SEL
For serial data logic switchover, the following values can be set.
(UART0, UART1, UART2)
RAPI_LOGIC_NO_REV
RAPI_LOGIC_REV
[data2]
Sets the divide-by-N value of a communication speed.
Return value
Rev.1.00
2007.11.1
REC10B0002-0100
No parity bit
RAPI_PARITY_EVEN
Odd parity bit
Polarity not inverted
RAPI_DPOL_INV
Polarity not inverted
RAPI_SIO_DPOL_INV
f1SIO
RAPI_BCSS_F2
f8SIO
RAPI_BCSS_F32
f1SIO
RAPI_SIO_BCSS_F2
f8SIO
RAPI_SIO_BCSS_F32
_CTS/_RTS functions are not used.
_CTS function is selected.
_RTS function is selected.
LSB first
RAPI_MSB_SEL
LSB first
RAPI_SIO_MSB_SEL
The value written in the transmit buffer register does not have its
logic inverted.
The value written in the transmit buffer register is inverted before
being transmitted.
19
Even parity bit
Polarity inverted
Polarity inverted
f2SIO
f32SIO
f2SIO
f32SIO
MSB first
MSB first

Advertisement

Table of Contents
loading

Table of Contents