Renesas M16C/62P Group Reference Manual page 85

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

Advertisement

Return value
If the external interrupt specification is incorrect, RAPI_FALSE is returned; otherwise,
RAPI_TRUE is returned.
Functionality
External interrupt
Reference
__EnableInterrupt, __GetInterruptFlag,
Remark
Program example
#include " rapi_interrupt_m16c_62p.h"
void IntFunc( void ){}
void func( void )
{
}
Rev.1.00
2007.11.1
REC10B0002-0100
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
/* Set up _INT0 interrupt */
__SetInterrupt( RAPI_INT0|RAPI_INT_FALLING, 0, IntFunc );
__ClearInterruptFlag
83

Advertisement

Table of Contents
loading

Table of Contents