Struct Secwm2r1
#[repr(transparent)]pub struct Secwm2r1(pub u32);Expand description
FLASH secure watermark2 register 1.
Tuple Fields§
§0: u32Implementations§
§impl Secwm2r1
impl Secwm2r1
pub const fn secwm2_strt(&self) -> u8
pub const fn secwm2_strt(&self) -> u8
Start page of second secure area.
pub fn set_secwm2_strt(&mut self, val: u8)
pub fn set_secwm2_strt(&mut self, val: u8)
Start page of second secure area.
pub const fn secwm2_end(&self) -> u8
pub const fn secwm2_end(&self) -> u8
End page of second secure area.
pub fn set_secwm2_end(&mut self, val: u8)
pub fn set_secwm2_end(&mut self, val: u8)
End page of second secure area.
Trait Implementations§
impl Copy for Secwm2r1
impl Eq for Secwm2r1
impl StructuralPartialEq for Secwm2r1
Auto Trait Implementations§
impl Freeze for Secwm2r1
impl RefUnwindSafe for Secwm2r1
impl Send for Secwm2r1
impl Sync for Secwm2r1
impl Unpin for Secwm2r1
impl UnwindSafe for Secwm2r1
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