Struct esp32s2::rtc_i2c::status::R

source ·
pub struct R(_);
Expand description

Register STATUS reader

Implementations§

Bit 0 - The received ACK value. 0: ACK. 1: NACK.

Bit 1 - 0: master writes to slave. 1: master reads from slave.

Bit 2 - When the RTC I2C loses control of SCL line, the register changes to 1.

Bit 3 - 0: RTC I2C bus is in idle state. 1: RTC I2C bus is busy transferring data.

Bit 4 - When the address sent by the master matches the address of the slave, then this bit will be set.

Bit 5 - This field changes to 1 when one byte is transferred.

Bits 6:7 - Indicate which operation is working.

Bits 16:23 - shifter content

Bits 24:26 - i2c last main status

Bits 28:30 - scl last status

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