Struct stm32_metapac::flash::regs::Sr
#[repr(transparent)]pub struct Sr(pub u32);
Expand description
FLASH status register for bank 1
Tuple Fields§
§0: u32
Implementations§
§impl Sr
impl Sr
pub fn set_crc_busy(&mut self, val: bool)
pub fn set_crc_busy(&mut self, val: bool)
Bank 1 CRC busy flag
pub fn set_wrperr(&mut self, val: bool)
pub fn set_wrperr(&mut self, val: bool)
Bank 1 write protection error flag
pub fn set_pgserr(&mut self, val: bool)
pub fn set_pgserr(&mut self, val: bool)
Bank 1 programming sequence error flag
pub fn set_strberr(&mut self, val: bool)
pub fn set_strberr(&mut self, val: bool)
Bank 1 strobe error flag
pub fn set_incerr(&mut self, val: bool)
pub fn set_incerr(&mut self, val: bool)
Bank 1 inconsistency error flag
pub fn set_rdperr(&mut self, val: bool)
pub fn set_rdperr(&mut self, val: bool)
Bank 1 read protection error flag
pub fn set_rdserr(&mut self, val: bool)
pub fn set_rdserr(&mut self, val: bool)
Bank 1 secure error flag
pub fn set_sneccerr1(&mut self, val: bool)
pub fn set_sneccerr1(&mut self, val: bool)
Bank 1 single correction error flag
pub fn set_dbeccerr(&mut self, val: bool)
pub fn set_dbeccerr(&mut self, val: bool)
Bank 1 ECC double detection error flag
pub fn set_crcend(&mut self, val: bool)
pub fn set_crcend(&mut self, val: bool)
Bank 1 CRC-complete flag
pub fn set_crcrderr(&mut self, val: bool)
pub fn set_crcrderr(&mut self, val: bool)
Bank 1 CRC read error flag
Trait Implementations§
impl Copy for Sr
impl Eq for Sr
impl StructuralEq for Sr
impl StructuralPartialEq for Sr
Auto Trait Implementations§
impl RefUnwindSafe for Sr
impl Send for Sr
impl Sync for Sr
impl Unpin for Sr
impl UnwindSafe for Sr
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