|
@ -28,16 +28,20 @@ |
|
|
|
|
|
|
|
|
#include "../pinmapping.h" |
|
|
#include "../pinmapping.h" |
|
|
|
|
|
|
|
|
#define LOW 0x00 |
|
|
|
|
|
#define HIGH 0x01 |
|
|
#define HIGH 0x01 |
|
|
#define CHANGE 0x02 |
|
|
#define LOW 0x00 |
|
|
#define FALLING 0x03 |
|
|
|
|
|
#define RISING 0x04 |
|
|
|
|
|
|
|
|
|
|
|
#define INPUT 0x00 |
|
|
#define INPUT 0x00 |
|
|
#define OUTPUT 0x01 |
|
|
#define OUTPUT 0x01 |
|
|
#define INPUT_PULLUP 0x02 |
|
|
#define INPUT_PULLUP 0x02 |
|
|
|
|
|
|
|
|
|
|
|
#define LSBFIRST 0 |
|
|
|
|
|
#define MSBFIRST 1 |
|
|
|
|
|
|
|
|
|
|
|
#define CHANGE 0x02 |
|
|
|
|
|
#define FALLING 0x03 |
|
|
|
|
|
#define RISING 0x04 |
|
|
|
|
|
|
|
|
#define E2END 0xFFF // EEPROM end address
|
|
|
#define E2END 0xFFF // EEPROM end address
|
|
|
|
|
|
|
|
|
typedef uint8_t byte; |
|
|
typedef uint8_t byte; |
|
|