Enum efm32gg11b::i2c0::state::STATE_A[][src]

#[repr(u8)]
pub enum STATE_A {
    IDLE,
    WAIT,
    START,
    ADDR,
    ADDRACK,
    DATA,
    DATAACK,
}
Expand description

Transmission State

Value on reset: 0

Variants

IDLE

0: No transmission is being performed.

WAIT

1: Waiting for idle. Will send a start condition as soon as the bus is idle.

START

2: Start transmitted or received

ADDR

3: Address transmitted or received

ADDRACK

4: Address ack/nack transmitted or received

DATA

5: Data transmitted or received

DATAACK

6: Data ack/nack transmitted or received

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.