Struct Icr
#[repr(transparent)]pub struct Icr(pub u32);Expand description
FLASH interrupt clear register.
Tuple Fields§
§0: u32Implementations§
§impl Icr
impl Icr
pub const fn clr_eop(&self) -> bool
pub const fn clr_eop(&self) -> bool
End-of-program flag clear Setting this bit clears EOPF flag in FLASH_ISR register.
pub const fn set_clr_eop(&mut self, val: bool)
pub const fn set_clr_eop(&mut self, val: bool)
End-of-program flag clear Setting this bit clears EOPF flag in FLASH_ISR register.
pub const fn clr_wrperr(&self) -> bool
pub const fn clr_wrperr(&self) -> bool
Write protection error flag clear Setting this bit clears WRPERRF flag in FLASH_ISR register.
pub const fn set_clr_wrperr(&mut self, val: bool)
pub const fn set_clr_wrperr(&mut self, val: bool)
Write protection error flag clear Setting this bit clears WRPERRF flag in FLASH_ISR register.
pub const fn clr_pgserr(&self) -> bool
pub const fn clr_pgserr(&self) -> bool
Programming sequence error flag clear Setting this bit clears PGSERRF flag in FLASH_ISR register.
pub const fn set_clr_pgserr(&mut self, val: bool)
pub const fn set_clr_pgserr(&mut self, val: bool)
Programming sequence error flag clear Setting this bit clears PGSERRF flag in FLASH_ISR register.
pub const fn clr_strberr(&self) -> bool
pub const fn clr_strberr(&self) -> bool
Strobe error flag clear Setting this bit clears STRBERRF flag in FLASH_ISR register.
pub const fn set_clr_strberr(&mut self, val: bool)
pub const fn set_clr_strberr(&mut self, val: bool)
Strobe error flag clear Setting this bit clears STRBERRF flag in FLASH_ISR register.
pub const fn clr_oblerr(&self) -> bool
pub const fn clr_oblerr(&self) -> bool
Option byte loading error flag clear Setting this bit clears OBLERRF flag in FLASH_ISR register.
pub const fn set_clr_oblerr(&mut self, val: bool)
pub const fn set_clr_oblerr(&mut self, val: bool)
Option byte loading error flag clear Setting this bit clears OBLERRF flag in FLASH_ISR register.
pub const fn clr_incerr(&self) -> bool
pub const fn clr_incerr(&self) -> bool
Inconsistency error flag clear Setting this bit clears INCERRF flag in FLASH_ISR register.
pub const fn set_clr_incerr(&mut self, val: bool)
pub const fn set_clr_incerr(&mut self, val: bool)
Inconsistency error flag clear Setting this bit clears INCERRF flag in FLASH_ISR register.
pub const fn clr_rdserr(&self) -> bool
pub const fn clr_rdserr(&self) -> bool
Read security error flag clear Setting this bit clears RDSERRF flag in FLASH_ISR register.
pub const fn set_clr_rdserr(&mut self, val: bool)
pub const fn set_clr_rdserr(&mut self, val: bool)
Read security error flag clear Setting this bit clears RDSERRF flag in FLASH_ISR register.
pub const fn clr_sneccerr(&self) -> bool
pub const fn clr_sneccerr(&self) -> bool
ECC single error flag clear Setting this bit clears SNECCERRF flag in FLASH_ISR register. If the DBECCERRF flag of FLASH_ISR register is also cleared, FLASH_ECCFAR register is reset to zero as well.
pub const fn set_clr_sneccerr(&mut self, val: bool)
pub const fn set_clr_sneccerr(&mut self, val: bool)
ECC single error flag clear Setting this bit clears SNECCERRF flag in FLASH_ISR register. If the DBECCERRF flag of FLASH_ISR register is also cleared, FLASH_ECCFAR register is reset to zero as well.
pub const fn clr_dbeccerr(&self) -> bool
pub const fn clr_dbeccerr(&self) -> bool
ECC double error flag clear Setting this bit clears DBECCERRF flag in FLASH_ISR register. If the SNECCERRF flag of FLASH_ISR register is also cleared, FLASH_ECCFAR register is reset to zero as well.
pub const fn set_clr_dbeccerr(&mut self, val: bool)
pub const fn set_clr_dbeccerr(&mut self, val: bool)
ECC double error flag clear Setting this bit clears DBECCERRF flag in FLASH_ISR register. If the SNECCERRF flag of FLASH_ISR register is also cleared, FLASH_ECCFAR register is reset to zero as well.
pub const fn clr_crcend(&self) -> bool
pub const fn clr_crcend(&self) -> bool
CRC end flag clear Setting this bit clears CRCENDF flag in FLASH_ISR register.
pub const fn set_clr_crcend(&mut self, val: bool)
pub const fn set_clr_crcend(&mut self, val: bool)
CRC end flag clear Setting this bit clears CRCENDF flag in FLASH_ISR register.
pub const fn clr_crcrderr(&self) -> bool
pub const fn clr_crcrderr(&self) -> bool
CRC error flag clear Setting this bit clears CRCRDERRF flag in FLASH_ISR register.
pub const fn set_clr_crcrderr(&mut self, val: bool)
pub const fn set_clr_crcrderr(&mut self, val: bool)
CRC error flag clear Setting this bit clears CRCRDERRF flag in FLASH_ISR register.