pub struct Erm { /* private fields */ }Expand description
Error recording module. Only word accesses are supported; enable the channel memory clock before accessing its registers.
Implementations§
Source§impl Erm
impl Erm
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn sr0(self) -> Reg<Sr0, RW>
pub const fn sr0(self) -> Reg<Sr0, RW>
Error status. Write one to clear only the intended flags and interrupt notifications; avoid read-modify-write.
Sourcepub const fn corr_err_cnt0(self) -> Reg<CorrErrCnt0, RW>
pub const fn corr_err_cnt0(self) -> Reg<CorrErrCnt0, RW>
Correctable error count. Saturates at 255; write zero to reset. Nonzero writes have no effect.
Sourcepub const fn corr_err_cnt1(self) -> Reg<CorrErrCnt1, RW>
pub const fn corr_err_cnt1(self) -> Reg<CorrErrCnt1, RW>
Correctable error count. Saturates at 255; write zero to reset. Nonzero writes have no effect.
Trait Implementations§
impl Copy for Erm
impl Eq for Erm
impl Send for Erm
impl StructuralPartialEq for Erm
impl Sync for Erm
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more