AP_HAL: GPIO INTERRUPT defines

This commit is contained in:
Pat Hickey 2012-12-20 22:41:08 -08:00 committed by Andrew Tridgell
parent 93040e5725
commit 1678dcc6f0

View File

@ -8,8 +8,10 @@
#define GPIO_INPUT 0 #define GPIO_INPUT 0
#define GPIO_OUTPUT 1 #define GPIO_OUTPUT 1
#define GPIO_FALLING 2 #define GPIO_INTERRUPT_LOW 0
#define GPIO_RISING 3 #define GPIO_INTERRUPT_HIGH 1
#define GPIO_INTERRUPT_FALLING 2
#define GPIO_INTERRUPT_RISING 3
class AP_HAL::DigitalSource { class AP_HAL::DigitalSource {
public: public: