pub struct W(_);
Expand description
Register PSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn lec(&mut self) -> FieldWriterRaw<'_, u32, PSR_SPEC, u8, u8, Unsafe, 3, 0>
pub fn lec(&mut self) -> FieldWriterRaw<'_, u32, PSR_SPEC, u8, u8, Unsafe, 3, 0>
Bits 0:2 - Last Error Code
sourcepub fn act(&mut self) -> FieldWriterRaw<'_, u32, PSR_SPEC, u8, u8, Unsafe, 2, 3>
pub fn act(&mut self) -> FieldWriterRaw<'_, u32, PSR_SPEC, u8, u8, Unsafe, 2, 3>
Bits 3:4 - Activity
sourcepub fn dlec(
&mut self
) -> FieldWriterRaw<'_, u32, PSR_SPEC, u8, u8, Unsafe, 3, 8>
pub fn dlec(
&mut self
) -> FieldWriterRaw<'_, u32, PSR_SPEC, u8, u8, Unsafe, 3, 8>
Bits 8:10 - Data Last Error Code
sourcepub fn resi(&mut self) -> BitWriterRaw<'_, u32, PSR_SPEC, bool, BitM, 11>
pub fn resi(&mut self) -> BitWriterRaw<'_, u32, PSR_SPEC, bool, BitM, 11>
Bit 11 - ESI flag of last received FDCAN Message
sourcepub fn rbrs(&mut self) -> BitWriterRaw<'_, u32, PSR_SPEC, bool, BitM, 12>
pub fn rbrs(&mut self) -> BitWriterRaw<'_, u32, PSR_SPEC, bool, BitM, 12>
Bit 12 - BRS flag of last received FDCAN Message
sourcepub fn redl(&mut self) -> BitWriterRaw<'_, u32, PSR_SPEC, bool, BitM, 13>
pub fn redl(&mut self) -> BitWriterRaw<'_, u32, PSR_SPEC, bool, BitM, 13>
Bit 13 - Received FDCAN Message
sourcepub fn pxe(&mut self) -> BitWriterRaw<'_, u32, PSR_SPEC, bool, BitM, 14>
pub fn pxe(&mut self) -> BitWriterRaw<'_, u32, PSR_SPEC, bool, BitM, 14>
Bit 14 - Protocol Exception Event
Methods from Deref<Target = W<PSR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more