Clearinterruptflag - Renesas M16C/62P Group Reference Manual

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

Advertisement

__ClearInterruptFlag

Synopsis
<Clear external interrupt flag>
Boolean __ClearInterruptFlag(unsigned long data)
Description
Clears the interrupt request flag of a specified external interrupt.
[data]
Return value
If the external interrupt specification is incorrect, RAPI_FALSE is returned; otherwise,
RAPI_TRUE is returned.
Functionality
External interrupt
Reference
__SetInterrupt, __EnableInterrupt,
Remark
Program example
#include " rapi_interrupt_m16c_62p.h"
void func( void )
{
}
Rev.1.00
2007.11.1
REC10B0002-0100
data
Setup data
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.
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
/* Clear status of _INT0 interrupt */
__ClearInterruptFlag( RAPI_INT0 );
__GetInterruptFlag
86

Advertisement

Table of Contents
loading

Table of Contents