Rev.1.01 2007.02.16
RJJ10J1643-0101
42
__SetSerialInterrupt
Synopsis
<Set serial interrupts>
Boolean __SetSerialInterrupt(unsigned long data)
data Setup
data
Description
Sets serial interrupts according to specified parameters.
[data]
For data, the following values can be set.
(M16C)
RAPI_COM1 UART0
RAPI_COM2 UART1
RAPI_COM3 UART2
RAPI_COM4 SI/O3
RAPI_COM5 SI/O4
For interrupt settings, the following values can set.
(M16C) (UART0, UART1, UART2)
RAPI_INT_TX_DIS
Transmit interrupt disabled
RAPI_INT_TX_LV_1
Transmit interrupt priority level 1
RAPI_INT_TX_LV_2
Transmit interrupt priority level 2
RAPI_INT_TX_LV_3
Transmit interrupt priority level 3
RAPI_INT_TX_LV_4
Transmit interrupt priority level 4
RAPI_INT_TX_LV_5
Transmit interrupt priority level 5
RAPI_INT_TX_LV_6
Transmit interrupt priority level 6
RAPI_INT_TX_LV_7
Transmit interrupt priority level 7
RAPI_INT_RX_DIS
Receive interrupt disabled
RAPI_INT_RX_LV_1
Receive interrupt priority level 1
RAPI_INT_RX_LV_2
Receive interrupt priority level 2
RAPI_INT_RX_LV_3
Receive interrupt priority level 3
RAPI_INT_RX_LV_4
Receive interrupt priority level 4
RAPI_INT_RX_LV_5
Receive interrupt priority level 5
RAPI_INT_RX_LV_6
Receive interrupt priority level 6
RAPI_INT_RX_LV_7
Receive interrupt priority level 7
(M16C) (SI/O3, SI/O4)
RAPI_INT_SIO_DIS
SI/O interrupt disabled
RAPI_INT_SIO_LV_1
SI/O interrupt priority level 1
RAPI_INT_SIO_LV_2
SI/O interrupt priority level 2
RAPI_INT_SIO_LV_3
SI/O interrupt priority level 3
RAPI_INT_SIO_LV_4
SI/O interrupt priority level 4
RAPI_INT_SIO_LV_5
SI/O interrupt priority level 5
RAPI_INT_SIO_LV_6
SI/O interrupt priority level 6
RAPI_INT_SIO_LV_7
SI/O interrupt priority level 7
(R8C)