MraaGpioEdge enum

GPIO Edge types for interrupts.

Inheritance

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

code int
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.