Struct esp32s3::i2c0::slave_addr::W

source ·
pub struct W(_);
Expand description

Register SLAVE_ADDR writer

Implementations

Bits 0:14 - When configured as an I2C Slave, this field is used to configure the slave address.

Bit 31 - This field is used to enable the slave 10-bit addressing mode in master mode.

Writes raw bits to the register.

Methods from Deref<Target = W<SLAVE_ADDR_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably 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.