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.