Struct stm32_metapac::flash::regs::Sechdpcr
#[repr(transparent)]pub struct Sechdpcr(pub u32);
Expand description
FLASH secure HDP control register
Tuple Fields§
§0: u32
Implementations§
§impl Sechdpcr
impl Sechdpcr
pub const fn hdp1_accdis(&self) -> bool
pub const fn hdp1_accdis(&self) -> bool
HDP1_ACCDIS
pub fn set_hdp1_accdis(&mut self, val: bool)
pub fn set_hdp1_accdis(&mut self, val: bool)
HDP1_ACCDIS
pub const fn hdp2_accdis(&self) -> bool
pub const fn hdp2_accdis(&self) -> bool
HDP2_ACCDIS
pub fn set_hdp2_accdis(&mut self, val: bool)
pub fn set_hdp2_accdis(&mut self, val: bool)
HDP2_ACCDIS
Trait Implementations§
impl Copy for Sechdpcr
impl Eq for Sechdpcr
impl StructuralPartialEq for Sechdpcr
Auto Trait Implementations§
impl Freeze for Sechdpcr
impl RefUnwindSafe for Sechdpcr
impl Send for Sechdpcr
impl Sync for Sechdpcr
impl Unpin for Sechdpcr
impl UnwindSafe for Sechdpcr
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
)