Struct stm32_metapac::flash::regs::Cr
#[repr(transparent)]pub struct Cr(pub u32);
Expand description
FLASH control register for bank 1
Tuple Fields§
§0: u32
Implementations§
§impl Cr
impl Cr
pub fn set_crc_en(&mut self, val: bool)
pub fn set_crc_en(&mut self, val: bool)
Bank 1 CRC control bit
pub fn set_wrperrie(&mut self, val: bool)
pub fn set_wrperrie(&mut self, val: bool)
Bank 1 write protection error interrupt enable bit
pub fn set_pgserrie(&mut self, val: bool)
pub fn set_pgserrie(&mut self, val: bool)
Bank 1 programming sequence error interrupt enable bit
pub fn set_strberrie(&mut self, val: bool)
pub fn set_strberrie(&mut self, val: bool)
Bank 1 strobe error interrupt enable bit
pub fn set_incerrie(&mut self, val: bool)
pub fn set_incerrie(&mut self, val: bool)
Bank 1 inconsistency error interrupt enable bit
pub fn set_operrie(&mut self, val: bool)
pub fn set_operrie(&mut self, val: bool)
Bank 1 write/erase error interrupt enable bit
pub fn set_rdperrie(&mut self, val: bool)
pub fn set_rdperrie(&mut self, val: bool)
Bank 1 read protection error interrupt enable bit
pub fn set_rdserrie(&mut self, val: bool)
pub fn set_rdserrie(&mut self, val: bool)
Bank 1 secure error interrupt enable bit
pub const fn sneccerrie(&self) -> bool
pub const fn sneccerrie(&self) -> bool
Bank 1 ECC single correction error interrupt enable bit
pub fn set_sneccerrie(&mut self, val: bool)
pub fn set_sneccerrie(&mut self, val: bool)
Bank 1 ECC single correction error interrupt enable bit
pub const fn dbeccerrie(&self) -> bool
pub const fn dbeccerrie(&self) -> bool
Bank 1 ECC double detection error interrupt enable bit
pub fn set_dbeccerrie(&mut self, val: bool)
pub fn set_dbeccerrie(&mut self, val: bool)
Bank 1 ECC double detection error interrupt enable bit
pub fn set_crcendie(&mut self, val: bool)
pub fn set_crcendie(&mut self, val: bool)
Bank 1 end of CRC calculation interrupt enable bit
pub const fn crcrderrie(&self) -> bool
pub const fn crcrderrie(&self) -> bool
Bank 1 CRC read error interrupt enable bit
pub fn set_crcrderrie(&mut self, val: bool)
pub fn set_crcrderrie(&mut self, val: bool)
Bank 1 CRC read error interrupt enable bit
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnwindSafe for Cr
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
)