pub struct R(_);
Expand description

Register PSR reader

Implementations

Bits 0:2 - Last Error Code (set to 111 on read)

Bits 3:4 - Activity

Bit 5 - Error Passive

Bit 6 - Warning Status

Bit 7 - Bus_Off Status

Bits 8:10 - Data Phase Last Error Code (set to 111 on read)

Bit 11 - ESI Flag of Last Received CAN FD Message (cleared on read)

Bit 12 - BRS Flag of Last Received CAN FD Message (cleared on read)

Bit 13 - Received a CAN FD Message (cleared on read)

Bit 14 - Protocol Exception Event (cleared on read)

Bits 16:22 - Transmitter Delay Compensation Value

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