Struct esp32c3::i2c0::sr::R

source ·
pub struct R(_);
Expand description

Register SR reader

Implementations§

Bit 0 - reg_resp_rec

Bit 1 - reg_slave_rw

Bit 3 - reg_arb_lost

Bit 4 - reg_bus_busy

Bit 5 - reg_slave_addressed

Bits 8:13 - reg_rxfifo_cnt

Bits 14:15 - reg_stretch_cause

Bits 18:23 - reg_txfifo_cnt

Bits 24:26 - reg_scl_main_state_last

Bits 28:30 - reg_scl_state_last

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