GPIO: General-Purpose I/O¶
SDK definitions for GPIO.
-
enum
gpio_driver
::
GPIO_INT_TYPE
¶ Defines the GPIO interrupt type.
Values:
-
GPIO_PIN_INTR_DISABLE
= 0¶ Interrupt disabled for this pin
-
GPIO_PIN_INTR_POSEDGE
= 1¶ Interrupt occurs on positive edge
-
GPIO_PIN_INTR_NEGEDGE
= 2¶ Interrupt occurs on negative edge
-
GPIO_PIN_INTR_ANYEDGE
= 3¶ Interrupt occurs on both positive and negative edge
-
GPIO_PIN_INTR_LOLEVEL
= 4¶ Interrupt occurs when GPIO low
-
GPIO_PIN_INTR_HILEVEL
= 5¶ Interrupt occurs when GPIO high
-