Struct stm32_metapac::flash::regs::Hdpsrp
#[repr(transparent)]pub struct Hdpsrp(pub u32);
Expand description
FLASH hide protection status register programming.
Tuple Fields§
§0: u32
Implementations§
§impl Hdpsrp
impl Hdpsrp
pub const fn hdp_area_start(&self) -> u16
pub const fn hdp_area_start(&self) -> u16
Hide protection user Flash area start programming Write to change corresponding option byte bits in FLASH_HDPSR. If HDP_AREA_END=HDP_AREA_START all the sectors are protected. If HDP_AREA_END<HDP_AREA_START no sectors are protected.
pub fn set_hdp_area_start(&mut self, val: u16)
pub fn set_hdp_area_start(&mut self, val: u16)
Hide protection user Flash area start programming Write to change corresponding option byte bits in FLASH_HDPSR. If HDP_AREA_END=HDP_AREA_START all the sectors are protected. If HDP_AREA_END<HDP_AREA_START no sectors are protected.
pub const fn hdp_area_end(&self) -> u16
pub const fn hdp_area_end(&self) -> u16
Hide protection user Flash area end programming Write to change corresponding option byte bits in FLASH_HDPSR. If HDP_AREA_END=HDP_AREA_START all the sectors are protected. If HDP_AREA_END<HDP_AREA_START no sectors are protected.
pub fn set_hdp_area_end(&mut self, val: u16)
pub fn set_hdp_area_end(&mut self, val: u16)
Hide protection user Flash area end programming Write to change corresponding option byte bits in FLASH_HDPSR. If HDP_AREA_END=HDP_AREA_START all the sectors are protected. If HDP_AREA_END<HDP_AREA_START no sectors are protected.
Trait Implementations§
impl Copy for Hdpsrp
impl Eq for Hdpsrp
impl StructuralPartialEq for Hdpsrp
Auto Trait Implementations§
impl Freeze for Hdpsrp
impl RefUnwindSafe for Hdpsrp
impl Send for Hdpsrp
impl Sync for Hdpsrp
impl Unpin for Hdpsrp
impl UnwindSafe for Hdpsrp
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
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)
clone_to_uninit
)