Enum lpc845_pac::i2c0::stat::SLVIDX_A[][src]

#[repr(u8)]
pub enum SLVIDX_A {
    ADDRESS0,
    ADDRESS1,
    ADDRESS2,
    ADDRESS3,
}
Expand description

Slave address match Index. This field is valid when the I2C slave function has been selected by receiving an address that matches one of the slave addresses defined by any enabled slave address registers, and provides an identification of the address that was matched. It is possible that more than one address could be matched, but only one match can be reported here.

Value on reset: 0

Variants

ADDRESS0

0: Address 0. Slave address 0 was matched.

ADDRESS1

1: Address 1. Slave address 1 was matched.

ADDRESS2

2: Address 2. Slave address 2 was matched.

ADDRESS3

3: Address 3. Slave address 3 was matched.

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.

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.