Enum capsules::mcp23008::State [] [src]

enum State {
    Idle,
    SelectIoDir(u8, Direction),
    ReadIoDir(u8, Direction),
    SelectGpPu(u8, bool),
    ReadGpPu(u8, bool),
    SetGpPu(u8),
    SelectGpio(u8, PinState),
    ReadGpio(u8, PinState),
    SelectGpioToggle(u8),
    ReadGpioToggle(u8),
    SelectGpioRead(u8),
    ReadGpioRead(u8),
    EnableInterruptSettings,
    ReadInterruptSetup,
    ReadInterruptValues,
    Done,
}

States of the I2C protocol with the MCP23008.

Variants

Disable I2C and release buffer

Trait Implementations

impl Clone for State
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for State
[src]

impl Debug for State
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for State
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.