Struct stm32_metapac::flash::regs::Ier
#[repr(transparent)]pub struct Ier(pub u32);
Expand description
FLASH interrupt enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Ier
impl Ier
pub fn set_wrperrie(&mut self, val: bool)
pub fn set_wrperrie(&mut self, val: bool)
Write protection error interrupt enable bit.
pub fn set_pgserrie(&mut self, val: bool)
pub fn set_pgserrie(&mut self, val: bool)
Programming sequence error interrupt enable bit.
pub fn set_strberrie(&mut self, val: bool)
pub fn set_strberrie(&mut self, val: bool)
Strobe error interrupt enable bit.
pub fn set_oblerrie(&mut self, val: bool)
pub fn set_oblerrie(&mut self, val: bool)
Option byte loading error interrupt enable bit.
pub fn set_incerrie(&mut self, val: bool)
pub fn set_incerrie(&mut self, val: bool)
Inconsistency error interrupt enable bit.
pub fn set_rdserrie(&mut self, val: bool)
pub fn set_rdserrie(&mut self, val: bool)
Read security error interrupt enable bit.
pub const fn sneccerrie(&self) -> bool
pub const fn sneccerrie(&self) -> bool
ECC single correction error interrupt enable bit.
pub fn set_sneccerrie(&mut self, val: bool)
pub fn set_sneccerrie(&mut self, val: bool)
ECC single correction error interrupt enable bit.
pub const fn dbeccerrie(&self) -> bool
pub const fn dbeccerrie(&self) -> bool
ECC double detection error interrupt enable bit.
pub fn set_dbeccerrie(&mut self, val: bool)
pub fn set_dbeccerrie(&mut self, val: bool)
ECC double detection error interrupt enable bit.
pub fn set_crcendie(&mut self, val: bool)
pub fn set_crcendie(&mut self, val: bool)
CRC end of calculation interrupt enable bit.
pub const fn crcrderrie(&self) -> bool
pub const fn crcrderrie(&self) -> bool
CRC read error interrupt enable bit.
pub fn set_crcrderrie(&mut self, val: bool)
pub fn set_crcrderrie(&mut self, val: bool)
CRC read error interrupt enable bit.
Trait Implementations§
impl Copy for Ier
impl Eq for Ier
impl StructuralPartialEq for Ier
Auto Trait Implementations§
impl Freeze for Ier
impl RefUnwindSafe for Ier
impl Send for Ier
impl Sync for Ier
impl Unpin for Ier
impl UnwindSafe for Ier
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)