Struct stm32h7xx_hal::pac::FLASH[][src]

pub struct FLASH { /* fields omitted */ }

Flash

Implementations

impl FLASH[src]

pub const fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn bank1(&self) -> &BANK[src]

0x04 - 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

pub fn bank1_mut(&self) -> &mut BANK[src]

0x04 - 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

pub fn optkeyr(&self) -> &Reg<u32, _OPTKEYR>[src]

0x08 - FLASH option key register

pub fn optkeyr_mut(&self) -> &mut Reg<u32, _OPTKEYR>[src]

0x08 - FLASH option key register

pub fn optcr(&self) -> &Reg<u32, _OPTCR>[src]

0x18 - FLASH option control register

pub fn optcr_mut(&self) -> &mut Reg<u32, _OPTCR>[src]

0x18 - FLASH option control register

pub fn optsr_cur(&self) -> &Reg<u32, _OPTSR_CUR>[src]

0x1c - FLASH option status register

pub fn optsr_cur_mut(&self) -> &mut Reg<u32, _OPTSR_CUR>[src]

0x1c - FLASH option status register

pub fn optsr_prg(&self) -> &Reg<u32, _OPTSR_PRG>[src]

0x20 - FLASH option status register

pub fn optsr_prg_mut(&self) -> &mut Reg<u32, _OPTSR_PRG>[src]

0x20 - FLASH option status register

pub fn optccr(&self) -> &Reg<u32, _OPTCCR>[src]

0x24 - FLASH option clear control register

pub fn optccr_mut(&self) -> &mut Reg<u32, _OPTCCR>[src]

0x24 - FLASH option clear control register

pub fn boot_curr(&self) -> &Reg<u32, _BOOT_CURR>[src]

0x40 - FLASH register with boot address

pub fn boot_curr_mut(&self) -> &mut Reg<u32, _BOOT_CURR>[src]

0x40 - FLASH register with boot address

pub fn boot_prgr(&self) -> &Reg<u32, _BOOT_PRGR>[src]

0x44 - FLASH register with boot address

pub fn boot_prgr_mut(&self) -> &mut Reg<u32, _BOOT_PRGR>[src]

0x44 - FLASH register with boot address

pub fn crcdatar(&self) -> &Reg<u32, _CRCDATAR>[src]

0x5c - FLASH CRC data register

pub fn crcdatar_mut(&self) -> &mut Reg<u32, _CRCDATAR>[src]

0x5c - FLASH CRC data register

pub fn bank2(&self) -> &BANK[src]

0x104 - 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

pub fn bank2_mut(&self) -> &mut BANK[src]

0x104 - 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

pub fn optkeyr_(&self) -> &Reg<u32, _OPTKEYR_>[src]

0x108 - FLASH option key register

pub fn optkeyr__mut(&self) -> &mut Reg<u32, _OPTKEYR_>[src]

0x108 - FLASH option key register

pub fn optcr_(&self) -> &Reg<u32, _OPTCR_>[src]

0x118 - FLASH option control register

pub fn optcr__mut(&self) -> &mut Reg<u32, _OPTCR_>[src]

0x118 - FLASH option control register

pub fn optsr_cur_(&self) -> &Reg<u32, _OPTSR_CUR_>[src]

0x11c - FLASH option status register

pub fn optsr_cur__mut(&self) -> &mut Reg<u32, _OPTSR_CUR_>[src]

0x11c - FLASH option status register

pub fn optsr_prg_(&self) -> &Reg<u32, _OPTSR_PRG_>[src]

0x120 - FLASH option status register

pub fn optsr_prg__mut(&self) -> &mut Reg<u32, _OPTSR_PRG_>[src]

0x120 - FLASH option status register

pub fn optccr_(&self) -> &Reg<u32, _OPTCCR_>[src]

0x124 - FLASH option clear control register

pub fn optccr__mut(&self) -> &mut Reg<u32, _OPTCCR_>[src]

0x124 - FLASH option clear control register

Trait Implementations

impl Deref for FLASH[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl FlashExt for FLASH[src]

impl Send for FLASH[src]

Auto Trait Implementations

impl !Sync for FLASH

impl Unpin for FLASH

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.