Renesas M16C/62P Group Bedienungsanleitung Seite 83

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 98
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 82
Rev.1.00 2007.11.1
REC10B0002-0100
83
Return value
If the external interrupt specification is incorrect, RAPI_FALSE is returned; otherwise,
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.
Program example
#include " rapi_interrupt_m16c_62p.h"
void IntFunc( void ){}
void func( void )
{
/* Set up _INT0 interrupt */
__SetInterrupt( RAPI_INT0|RAPI_INT_FALLING, 0, IntFunc );
}
Seitenansicht 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 97 98

Kommentare zu diesen Handbüchern

Keine Kommentare