Struct stm32_hal2::pac::FLASH
source · [−]pub struct FLASH { /* private fields */ }
Expand description
Flash
Implementations
sourceimpl FLASH
impl FLASH
sourcepub const PTR: *const RegisterBlock = {0x52002000 as *const stm32h7::stm32h735::flash::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x52002000 as *const stm32h7::stm32h735::flash::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>
sourcepub fn bank1(&self) -> &BANK
pub fn bank1(&self) -> &BANK
0x04..0x64 - Cluster BANK%s, containing KEYR?, CR?, SR?, CCR?, PRAR_CUR?, PRAR_PRG?, SCAR_CUR?, SCAR_PRG?, WPSN_CUR?R, WPSN_PRG?R, CRCCR?, CRCSADD?R, CRCEADD?R, ECC_FA?R
sourcepub fn optkeyr(&self) -> &Reg<OPTKEYR_SPEC>
pub fn optkeyr(&self) -> &Reg<OPTKEYR_SPEC>
0x08 - FLASH option key register
sourcepub fn optcr(&self) -> &Reg<OPTCR_SPEC>
pub fn optcr(&self) -> &Reg<OPTCR_SPEC>
0x18 - FLASH option control register
sourcepub fn optsr_cur(&self) -> &Reg<OPTSR_CUR_SPEC>
pub fn optsr_cur(&self) -> &Reg<OPTSR_CUR_SPEC>
0x1c - FLASH option status register
sourcepub fn optsr_prg(&self) -> &Reg<OPTSR_PRG_SPEC>
pub fn optsr_prg(&self) -> &Reg<OPTSR_PRG_SPEC>
0x20 - FLASH option status register
sourcepub fn optccr(&self) -> &Reg<OPTCCR_SPEC>
pub fn optccr(&self) -> &Reg<OPTCCR_SPEC>
0x24 - FLASH option clear control register
sourcepub fn boot_curr(&self) -> &Reg<BOOT_CURR_SPEC>
pub fn boot_curr(&self) -> &Reg<BOOT_CURR_SPEC>
0x40 - FLASH register with boot address
sourcepub fn boot_prgr(&self) -> &Reg<BOOT_PRGR_SPEC>
pub fn boot_prgr(&self) -> &Reg<BOOT_PRGR_SPEC>
0x44 - FLASH register with boot address
sourcepub fn crcdatar(&self) -> &Reg<CRCDATAR_SPEC>
pub fn crcdatar(&self) -> &Reg<CRCDATAR_SPEC>
0x5c - FLASH CRC data register
sourcepub fn bank2(&self) -> &BANK
pub fn bank2(&self) -> &BANK
0x104..0x164 - Cluster BANK%s, containing KEYR?, CR?, SR?, CCR?, PRAR_CUR?, PRAR_PRG?, SCAR_CUR?, SCAR_PRG?, WPSN_CUR?R, WPSN_PRG?R, CRCCR?, CRCSADD?R, CRCEADD?R, ECC_FA?R
sourcepub fn optkeyr_(&self) -> &Reg<OPTKEYR__SPEC>
pub fn optkeyr_(&self) -> &Reg<OPTKEYR__SPEC>
0x108 - FLASH option key register
sourcepub fn optcr_(&self) -> &Reg<OPTCR__SPEC>
pub fn optcr_(&self) -> &Reg<OPTCR__SPEC>
0x118 - FLASH option control register
sourcepub fn optsr_cur_(&self) -> &Reg<OPTSR_CUR__SPEC>
pub fn optsr_cur_(&self) -> &Reg<OPTSR_CUR__SPEC>
0x11c - FLASH option status register
sourcepub fn optsr_prg_(&self) -> &Reg<OPTSR_PRG__SPEC>
pub fn optsr_prg_(&self) -> &Reg<OPTSR_PRG__SPEC>
0x120 - FLASH option status register
sourcepub fn optccr_(&self) -> &Reg<OPTCCR__SPEC>
pub fn optccr_(&self) -> &Reg<OPTCCR__SPEC>
0x124 - FLASH option clear control register