Struct esp32::rtc_i2c::ctrl::R

source ·
pub struct R(_);
Expand description

Register CTRL reader

Implementations§

Bit 0 - SDA is push-pull (1) or open-drain (0)

Bit 1 - SCL is push-pull (1) or open-drain (0)

Bit 4 - Master (1) or slave (0)

Bit 5 - Force to generate start condition

Bit 6 - Send LSB first

Bit 7 - Receive LSB first

Methods from Deref<Target = R<CTRL_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.