Struct stm32_metapac::flash::regs::Optcr1
#[repr(transparent)]pub struct Optcr1(pub u32);
Expand description
Flash option control register 1
Tuple Fields§
§0: u32
Implementations§
§impl Optcr1
impl Optcr1
pub fn set_boot_add0(&mut self, val: u16)
pub fn set_boot_add0(&mut self, val: u16)
Boot base address when Boot pin =0
pub fn set_boot_add1(&mut self, val: u16)
pub fn set_boot_add1(&mut self, val: u16)
Boot base address when Boot pin =1
Trait Implementations§
impl Copy for Optcr1
impl Eq for Optcr1
impl StructuralPartialEq for Optcr1
Auto Trait Implementations§
impl Freeze for Optcr1
impl RefUnwindSafe for Optcr1
impl Send for Optcr1
impl Sync for Optcr1
impl Unpin for Optcr1
impl UnwindSafe for Optcr1
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
)