Struct stm32_metapac::flash::regs::Eccsfaddr
#[repr(transparent)]pub struct Eccsfaddr(pub u32);
Expand description
FLASH ECC single error fail address.
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Eccsfaddr
impl Eccsfaddr
pub const fn sec_fadd(&self) -> u32
pub const fn sec_fadd(&self) -> u32
ECC single error correction fail address When a single ECC error correction occurs during a read operation, the SEC_FADD bitfield contains the system bus address that generated the error. This register is automatically cleared when SNECCERRF flag that generated the error is cleared. Note that only the first address that generated an ECC single error correction error is saved in this register.
pub fn set_sec_fadd(&mut self, val: u32)
pub fn set_sec_fadd(&mut self, val: u32)
ECC single error correction fail address When a single ECC error correction occurs during a read operation, the SEC_FADD bitfield contains the system bus address that generated the error. This register is automatically cleared when SNECCERRF flag that generated the error is cleared. Note that only the first address that generated an ECC single error correction error is saved in this register.