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) -> HdpAccdis
pub const fn hdp1_accdis(&self) -> HdpAccdis
HDP1 area access disable When set, this bit is only cleared by a system reset.
pub fn set_hdp1_accdis(&mut self, val: HdpAccdis)
pub fn set_hdp1_accdis(&mut self, val: HdpAccdis)
HDP1 area access disable When set, this bit is only cleared by a system reset.
pub const fn hdp2_accdis(&self) -> HdpAccdis
pub const fn hdp2_accdis(&self) -> HdpAccdis
HDP2 area access disable When set, this bit is only cleared by a system reset.
pub fn set_hdp2_accdis(&mut self, val: HdpAccdis)
pub fn set_hdp2_accdis(&mut self, val: HdpAccdis)
HDP2 area access disable When set, this bit is only cleared by a system reset.
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
)