pub struct R(_);
Expand description

Register SR reader

Implementations

Bit 0 - Transmission Completed (cleared by writing TWIHS_THR)

Bit 1 - Receive Holding Register Ready (cleared by reading TWIHS_RHR)

Bit 2 - Transmit Holding Register Ready (cleared by writing TWIHS_THR)

Bit 3 - Slave Read

Bit 4 - Slave Access

Bit 5 - General Call Access (cleared on read)

Bit 6 - Overrun Error (cleared on read)

Bit 7 - Underrun Error (cleared on read)

Bit 8 - Not Acknowledged (cleared on read)

Bit 9 - Arbitration Lost (cleared on read)

Bit 10 - Clock Wait State

Bit 11 - End Of Slave Access (cleared on read)

Bit 16 - Master Code Acknowledge (cleared on read)

Bit 18 - Timeout Error (cleared on read)

Bit 19 - PEC Error (cleared on read)

Bit 20 - SMBus Default Address Match (cleared on read)

Bit 21 - SMBus Host Header Address Match (cleared on read)

Bit 24 - SCL Line Value

Bit 25 - SDA Line Value

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.