#[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
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.