pub struct R(_);
Register SR reader
SR
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
Reads raw bits from register.
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U