Rev.1.01 2007.02.16
RJJ10J1643-0101
178
__GetInterruptFlag
Synopsis
<Get the status of external interrupt flag>
Boolean __GetInterruptFlag(unsigned long data1, unsigned int *data2))
data1
Setup data 1 (content differs with MCU type)
data2
Pointer to the buffer in which the acquired flag data is stored
Description
Gets the value of interrupt request flag of a specified external interrupt.
[data1]
(M16C)
RAPI_INT0
Uses _INT0 interrupt.
RAPI_INT1
Uses _INT1 interrupt.
RAPI_INT2
Uses _INT2 interrupt.
RAPI_INT3
Uses _INT3 interrupt.
RAPI_INT4
Uses _INT4 interrupt.
RAPI_INT5
Uses _INT5 interrupt.
RAPI_KEY
Uses key input interrupt.
(R8C)
RAPI_INT0
Uses _INT0 interrupt.
RAPI_INT1
Uses _INT1 interrupt.
RAPI_INT2
Uses _INT2 interrupt.
RAPI_INT3
Uses _INT3 interrupt.
RAPI_KEY
Uses key input interrupt.
(H8/300H)
RAPI_IRQ0
Uses IRQ0 interrupt.
RAPI_IRQ1
Uses IRQ1 interrupt.
RAPI_IRQ2
Uses IRQ2 interrupt.
RAPI_IRQ3
Uses IRQ3 interrupt.
RAPI_WKP0
Uses WKP0 interrupt.
RAPI_WKP1
Uses WKP1 interrupt.
RAPI_WKP2
Uses WKP2 interrupt.
RAPI_WKP3
Uses WKP3 interrupt.
RAPI_WKP4
Uses WKP4 interrupt.
RAPI_WKP5
Uses WKP5 interrupt.
[data2]
Value of interrupt request flag (0: Interrupt not requested; 1: Interrupt requested)
Return value
If the external interrupt specification is incorrect, RAPI_FALSE is returned; otherwise,
RAPI_TRUE is returned.
0
0
0
0
0
0
0