Struct stm32_metapac::flash::regs::Secwmr1
#[repr(transparent)]pub struct Secwmr1(pub u32);
Expand description
secure watermark register 1
Tuple Fields§
§0: u32
Implementations§
§impl Secwmr1
impl Secwmr1
pub const fn secwm_pstrt(&self) -> u8
pub const fn secwm_pstrt(&self) -> u8
Start page of secure area This field contains the first page of the secure area.
pub fn set_secwm_pstrt(&mut self, val: u8)
pub fn set_secwm_pstrt(&mut self, val: u8)
Start page of secure area This field contains the first page of the secure area.
pub const fn secwm_pend(&self) -> u8
pub const fn secwm_pend(&self) -> u8
End page of secure area This field contains the last page of the secure area.
pub fn set_secwm_pend(&mut self, val: u8)
pub fn set_secwm_pend(&mut self, val: u8)
End page of secure area This field contains the last page of the secure area.
Trait Implementations§
impl Copy for Secwmr1
impl Eq for Secwmr1
impl StructuralPartialEq for Secwmr1
Auto Trait Implementations§
impl Freeze for Secwmr1
impl RefUnwindSafe for Secwmr1
impl Send for Secwmr1
impl Sync for Secwmr1
impl Unpin for Secwmr1
impl UnwindSafe for Secwmr1
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
)