Test arduino code
Fork of ArduinoHAL by
Diff: wiring_private.h
- Revision:
- 4:40396527a068
- Parent:
- 3:d0f535da303e
--- a/wiring_private.h Sat Jun 04 20:03:00 2011 +0000 +++ b/wiring_private.h Sat Jun 04 20:16:04 2011 +0000 @@ -25,15 +25,8 @@ #ifndef WiringPrivate_h #define WiringPrivate_h -#include <stdio.h> -#include <stdarg.h> - #include "wiring.h" -#ifdef __cplusplus -extern "C"{ -#endif - #ifndef cbi #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) #endif @@ -41,25 +34,5 @@ #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) #endif -#define EXTERNAL_INT_0 0 -#define EXTERNAL_INT_1 1 -#define EXTERNAL_INT_2 2 -#define EXTERNAL_INT_3 3 -#define EXTERNAL_INT_4 4 -#define EXTERNAL_INT_5 5 -#define EXTERNAL_INT_6 6 -#define EXTERNAL_INT_7 7 - -#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) -#define EXTERNAL_NUM_INTERRUPTS 8 -#else -#define EXTERNAL_NUM_INTERRUPTS 2 -#endif - -typedef void (*voidFuncPtr)(void); - -#ifdef __cplusplus -} // extern "C" -#endif #endif