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 StructuralEq for Nvsr
impl StructuralPartialEq for Nvsr
Auto Trait Implementationsยง
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