Struct stm32_metapac::flash::regs::Secwm2r2
#[repr(transparent)]pub struct Secwm2r2(pub u32);
Expand description
Flash secure watermak2 register2
Tuple Fields§
§0: u32
Implementations§
§impl Secwm2r2
impl Secwm2r2
pub const fn pcrop2_pstrt(&self) -> u8
pub const fn pcrop2_pstrt(&self) -> u8
PCROP2_PSTRT
pub fn set_pcrop2_pstrt(&mut self, val: u8)
pub fn set_pcrop2_pstrt(&mut self, val: u8)
PCROP2_PSTRT
pub fn set_pcrop2en(&mut self, val: bool)
pub fn set_pcrop2en(&mut self, val: bool)
PCROP2EN
pub fn set_hdp2_pend(&mut self, val: u8)
pub fn set_hdp2_pend(&mut self, val: u8)
HDP2_PEND
pub fn set_hdp2en(&mut self, val: bool)
pub fn set_hdp2en(&mut self, val: bool)
HDP2EN
Trait Implementations§
impl Copy for Secwm2r2
impl Eq for Secwm2r2
impl StructuralPartialEq for Secwm2r2
Auto Trait Implementations§
impl Freeze for Secwm2r2
impl RefUnwindSafe for Secwm2r2
impl Send for Secwm2r2
impl Sync for Secwm2r2
impl Unpin for Secwm2r2
impl UnwindSafe for Secwm2r2
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
)