Define LSBFIRST / MSBFIRST for LPC

2.0.x
Scott Lahteine 7 years ago
parent f8227abf1c
commit eb18ae9003

@ -28,16 +28,20 @@
#include "../pinmapping.h"
#define LOW 0x00
#define HIGH 0x01
#define CHANGE 0x02
#define FALLING 0x03
#define RISING 0x04
#define LOW 0x00
#define INPUT 0x00
#define OUTPUT 0x01
#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
typedef uint8_t byte;

Loading…
Cancel
Save