pub struct R(_);
Expand description

Register SR reader

Implementations

Bit 0 - TXIS

Bit 1 - TXMSGDISC

Bit 2 - TXMSGSENT

Bit 3 - TXMSGABT

Bit 4 - HRSTDISC

Bit 5 - HRSTSENT

Bit 6 - TXUND

Bit 8 - RXNE

Bit 9 - RXORDDET

Bit 10 - RXHRSTDET

Bit 11 - RXOVR

Bit 12 - RXMSGEND

Bit 13 - RXERR

Bit 14 - TYPECEVT1

Bit 15 - TYPECEVT2

Bits 16:17 - TYPEC_VSTATE_CC1

Bits 18:19 - TYPEC_VSTATE_CC2

Bit 20 - FRSEVT

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.