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