MraaGpioEdge enum
GPIO Edge types for interrupts.
Constructors
- MraaGpioEdge(int code)
-
const
Values
- none → const MraaGpioEdge
-
No interrupt on Gpio
const MraaGpioEdge(mraaimpl.mraa_gpio_edge_t.MRAA_GPIO_EDGE_NONE)
- both → const MraaGpioEdge
-
Interrupt on rising & falling
const MraaGpioEdge(mraaimpl.mraa_gpio_edge_t.MRAA_GPIO_EDGE_BOTH)
- rising → const MraaGpioEdge
-
Interrupt on rising only
const MraaGpioEdge(mraaimpl.mraa_gpio_edge_t.MRAA_GPIO_EDGE_RISING)
- falling → const MraaGpioEdge
-
Interrupt on falling only
const MraaGpioEdge(mraaimpl.mraa_gpio_edge_t.MRAA_GPIO_EDGE_FALLING)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
byCode
→ Map<
int, MraaGpioEdge> -
final
Static Methods
-
gpioEdge(
int edge) → MraaGpioEdge
Constants
-
values
→ const List<
MraaGpioEdge> - A constant List of the values in this enum, in order of their declaration.