Macros | Functions | Variables
WInterrupts.c File Reference
#include <inttypes.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include <stdio.h>
#include "wiring_private.h"
Include dependency graph for WInterrupts.c:

Go to the source code of this file.

Macros

#define IMPLEMENT_ISR(vect, interrupt)
 

Functions

void attachInterrupt (uint8_t interruptNum, void(*userFunc)(void), int mode)
 
void detachInterrupt (uint8_t interruptNum)
 
static void nothing (void)
 

Variables

static volatile voidFuncPtr intFunc [EXTERNAL_NUM_INTERRUPTS]
 

Macro Definition Documentation

#define IMPLEMENT_ISR (   vect,
  interrupt 
)
Value:
ISR(vect) { \
intFunc[interrupt](); \
}
static volatile voidFuncPtr intFunc[EXTERNAL_NUM_INTERRUPTS]
Definition: WInterrupts.c:38
ISR(TIMER2_COMPA_vect)
Definition: Tone.cpp:538

Definition at line 283 of file WInterrupts.c.

Function Documentation

void attachInterrupt ( uint8_t  interruptNum,
void(*)(void userFunc,
int  mode 
)

Definition at line 70 of file WInterrupts.c.

void detachInterrupt ( uint8_t  interruptNum)

Definition at line 187 of file WInterrupts.c.

static void nothing ( void  )
static

Definition at line 35 of file WInterrupts.c.

Variable Documentation

volatile voidFuncPtr intFunc[EXTERNAL_NUM_INTERRUPTS]
static
Initial value:
= {
}

Definition at line 38 of file WInterrupts.c.



arduino_daq
Author(s):
autogenerated on Mon Jun 10 2019 12:46:03