mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: GPIO INTERRUPT defines
This commit is contained in:
parent
93040e5725
commit
1678dcc6f0
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user