Struct stm32_metapac::flash::regs::Wrp2ar
#[repr(transparent)]pub struct Wrp2ar(pub u32);
Expand description
Flash Bank 2 WRP area A address register
Tuple Fields§
§0: u32
Implementations§
§impl Wrp2ar
impl Wrp2ar
pub const fn wrp2a_strt(&self) -> u8
pub const fn wrp2a_strt(&self) -> u8
Bank 2 WRP first area A start offset
pub fn set_wrp2a_strt(&mut self, val: u8)
pub fn set_wrp2a_strt(&mut self, val: u8)
Bank 2 WRP first area A start offset
pub fn set_wrp2a_end(&mut self, val: u8)
pub fn set_wrp2a_end(&mut self, val: u8)
Bank 2 WRP first area A end offset
Trait Implementations§
impl Copy for Wrp2ar
impl Eq for Wrp2ar
impl StructuralPartialEq for Wrp2ar
Auto Trait Implementations§
impl Freeze for Wrp2ar
impl RefUnwindSafe for Wrp2ar
impl Send for Wrp2ar
impl Sync for Wrp2ar
impl Unpin for Wrp2ar
impl UnwindSafe for Wrp2ar
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
)