Rev.1.01 2007.02.16
RJJ10J1643-0101
180
__ClearInterruptFlag
Synopsis
<Clear external interrupt flag>
Boolean __ClearInterruptFlag(unsigned long data)
data
Setup data (content differs with MCU type)
Description
Clears the interrupt request flag of a specified external interrupt.
[data]
(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.
Return value
If the external interrupt specification is incorrect, RAPI_FALSE is returned; otherwise,
RAPI_TRUE is returned.
Functionality
External
interrupt
Reference
__SetInterrupt
,
__EnableInterrupt
,
__GetInterruptFlag
Remark
•
If an undefined value is specified in the first argument, operation of the API cannot