pub struct Erm { /* private fields */ }Expand description
Error recording module. Supervisor word accesses only; enable the corresponding memory clock before channel register accesses. Initialize ECC memory and clear captured flags before enabling interrupts. Register slots do not imply usable error routing; N23 channels 5 and 6 are reserved targets, and RAMF is unavailable on 352-KB parts. Follow the selected part’s memory and ECC restrictions. Secure and privileged configuration is recommended by NXP, not enforced by this register view.
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 cr0(self) -> Reg<Cr0, RW>
pub const fn cr0(self) -> Reg<Cr0, RW>
Interrupt notification enables for channel slots 0-7. N23 targets 5 and 6 are reserved; channel 6 has no RAMF target on 352-KB parts.
Sourcepub const fn cr1(self) -> Reg<Cr1, RW>
pub const fn cr1(self) -> Reg<Cr1, RW>
Interrupt notification enables for channel slots 8 and 9.
Sourcepub const fn sr0(self) -> Reg<Sr0, RW>
pub const fn sr0(self) -> Reg<Sr0, RW>
Error status for channel slots 0-7. Write one to clear only the intended flags and their interrupt notifications; avoid read-modify-write. N23 targets 5 and 6 are reserved; channel 6 has no RAMF target on 352-KB parts.
Sourcepub const fn sr1(self) -> Reg<Sr1, RW>
pub const fn sr1(self) -> Reg<Sr1, RW>
Error status for channel slots 8 and 9. Write one to clear only the intended flags and their interrupt notifications; avoid read-modify-write.
Sourcepub const fn ear(self, n: usize) -> Reg<Ear, R>
pub const fn ear(self, n: usize) -> Reg<Ear, R>
Channel 0-6 address of the last recorded ECC event. Writes are ignored. Channel 6 has no RAMF target on 352-KB parts; register presence does not establish supported ECC routing.
Sourcepub const fn syn(self, n: usize) -> Reg<Syn, R>
pub const fn syn(self, n: usize) -> Reg<Syn, R>
Channel 0-6 syndrome of the last recorded ECC event. Writes are ignored. Identifies a single inverted data or address bit, but provides no additional diagnosis for non-correctable multi-bit inversions. Channel 6 has no RAMF target on 352-KB parts; register presence does not establish supported ECC routing.
Sourcepub const fn corr_err_cnt(self, n: usize) -> Reg<CorrErrCnt, RW>
pub const fn corr_err_cnt(self, n: usize) -> Reg<CorrErrCnt, RW>
Correctable error counts for channel slots 0-9. Saturate at 255; write zero to reset, nonzero writes have no effect. Channels 7-9 report non-correctable errors and do not increment counts. N23 targets 5 and 6 are reserved; RAMF is unavailable on 352-KB parts.