Struct atsam4sd16c_pac::twi0::sr::R

source ·
pub struct R(_);
Expand description

Register SR reader

Implementations§

Bit 0 - Transmission Completed (automatically set / reset)

Bit 1 - Receive Holding Register Ready (automatically set / reset)

Bit 2 - Transmit Holding Register Ready (automatically set / reset)

Bit 3 - Slave Read (automatically set / reset)

Bit 4 - Slave Access (automatically set / reset)

Bit 5 - General Call Access (clear on read)

Bit 6 - Overrun Error (clear on read)

Bit 8 - Not Acknowledged (clear on read)

Bit 9 - Arbitration Lost (clear on read)

Bit 10 - Clock Wait State (automatically set / reset)

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

Bit 12 - End of RX buffer

Bit 13 - End of TX buffer

Bit 14 - RX Buffer Full

Bit 15 - TX Buffer Empty

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.