Struct esp32::i2c0::slave_addr::R

source ·
pub struct R(_);
Expand description

Register SLAVE_ADDR reader

Implementations§

Bits 0:14 - when configured as i2c slave this register is used to configure slave’s address.

Bit 31 - This register is used to enable slave 10bit address mode.

Methods from Deref<Target = R<SLAVE_ADDR_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

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.