MraaI2cMode enum

I2C speeds/modes.

Inheritance
Available extensions

Values

std → const MraaI2cMode

Standard

const MraaI2cMode(mraaimpl.mraa_i2c_mode_t.MRAA_I2C_STD)
fast → const MraaI2cMode

Fast

const MraaI2cMode(mraaimpl.mraa_i2c_mode_t.MRAA_I2C_FAST)
high → const MraaI2cMode

High speed

const MraaI2cMode(mraaimpl.mraa_i2c_mode_t.MRAA_I2C_HIGH)
unknown → const MraaI2cMode

Unknown

const MraaI2cMode(-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, MraaI2cMode>
final

Static Methods

i2cMode(int mode) → MraaI2cMode

Constants

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