Struct stm32_metapac::flash::regs::Hdpsr
#[repr(transparent)]pub struct Hdpsr(pub u32);
Expand description
FLASH hide protection status register.
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Hdpsr
impl Hdpsr
pub const fn hdp_area_start(&self) -> u16
pub const fn hdp_area_start(&self) -> u16
Hide protection user Flash area start This option sets the start address that contains the first 256-byte block of the hide protection (HDP) area in user Flash area. 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 This option sets the start address that contains the first 256-byte block of the hide protection (HDP) area in user Flash area. 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 This option sets the end address that contains the last 256-byte block of the hide protection (HDP) area in user Flash area. 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 This option sets the end address that contains the last 256-byte block of the hide protection (HDP) area in user Flash area. If HDP_AREA_END=HDP_AREA_START all the sectors are protected. If HDP_AREA_END<HDP_AREA_START no sectors are protected.