Struct stm32f1xx_hal::pac::i2c1::sr1::R

source ·
pub struct R(_);
Expand description

Register SR1 reader

Implementations§

Bit 15 - SMBus alert

Bit 14 - Timeout or Tlow error

Bit 12 - PEC Error in reception

Bit 11 - Overrun/Underrun

Bit 10 - Acknowledge failure

Bit 9 - Arbitration lost (master mode)

Bit 8 - Bus error

Bit 7 - Data register empty (transmitters)

Bit 6 - Data register not empty (receivers)

Bit 4 - Stop detection (slave mode)

Bit 3 - 10-bit header sent (Master mode)

Bit 2 - Byte transfer finished

Bit 1 - Address sent (master mode)/matched (slave mode)

Bit 0 - Start bit (Master mode)

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