Struct stm32_metapac::flash::regs::Nvsr
#[repr(transparent)]pub struct Nvsr(pub u32);
Expand description
FLASH non-volatile status register.
Tuple Fields§
§0: u32
Implementations§
§impl Nvsr
impl Nvsr
pub const fn nvstate(&self) -> NvsrNvstate
pub const fn nvstate(&self) -> NvsrNvstate
Non-volatile state others: invalid configuration.
pub fn set_nvstate(&mut self, val: NvsrNvstate)
pub fn set_nvstate(&mut self, val: NvsrNvstate)
Non-volatile state others: invalid configuration.
Trait Implementations§
impl Copy for Nvsr
impl Eq for Nvsr
impl StructuralPartialEq for Nvsr
Auto Trait Implementations§
impl Freeze for Nvsr
impl RefUnwindSafe for Nvsr
impl Send for Nvsr
impl Sync for Nvsr
impl Unpin for Nvsr
impl UnwindSafe for Nvsr
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
)