Rev.1.01 2007.02.16
RJJ10J1643-0101
175
RAPI_TRUE is returned.
Functionality External interrupt
Reference __EnableInterrupt, __GetInterruptFlag, __ClearInterruptFlag
Remark •
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
• T he specifiable external interrupts differ with each CPU used.
• For the R8 C, if its CPU type is the one that does not accept specification of “both edges” for
interrupts to INT2 and INT3, RAPI_INT_BOTH cannot be specified for INT2 and INT3.
Program example
#include " rapi_interrupt_r8c_13.h"
void IntFunc( void ){}
void func( void )
{
/* Set up _INT0 interrupt */
__SetInterrupt( RAPI_INT0|RAPI_INT_FALLING, 0, IntFunc );
}