MraaGpioOutputMode enum

GPIO output modes.

Inheritance
Available extensions

Values

strong → const MraaGpioOutputMode

Default. Strong high and low

const MraaGpioOutputMode(mraaimpl.mraa_gpio_mode_t.MRAA_GPIO_STRONG)
pullup → const MraaGpioOutputMode

Resistive High

const MraaGpioOutputMode(mraaimpl.mraa_gpio_mode_t.MRAA_GPIO_PULLUP)
pulldown → const MraaGpioOutputMode

Resistive Low

const MraaGpioOutputMode(mraaimpl.mraa_gpio_mode_t.MRAA_GPIO_PULLDOWN)
hiz → const MraaGpioOutputMode

High Z State

const MraaGpioOutputMode(mraaimpl.mraa_gpio_mode_t.MRAA_GPIO_HIZ)
activeLow → const MraaGpioOutputMode
const MraaGpioOutputMode(mraaimpl.mraa_gpio_mode_t.MRAA_GPIOD_ACTIVE_LOW)
openDrain → const MraaGpioOutputMode
const MraaGpioOutputMode(mraaimpl.mraa_gpio_mode_t.MRAA_GPIOD_OPEN_DRAIN)
openSource → const MraaGpioOutputMode
const MraaGpioOutputMode(mraaimpl.mraa_gpio_mode_t.MRAA_GPIOD_OPEN_SOURCE)
unknown → const MraaGpioOutputMode

Unknown

const MraaGpioOutputMode(-1)

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
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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, MraaGpioOutputMode>
final

Static Methods

gpioOutputModes(int mode) → MraaGpioOutputMode

Constants

values → const List<MraaGpioOutputMode>
A constant List of the values in this enum, in order of their declaration.