Struct stm32_metapac::flash::regs::Acr
#[repr(transparent)]pub struct Acr(pub u32);
Expand description
Access control register.
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Acr
impl Acr
pub const fn latency(&self) -> u8
pub const fn latency(&self) -> u8
Read latency These bits are used to control the number of wait states used during read operations on both non-volatile memory banks. The application software has to program them to the correct value depending on the embedded Flash memory interface frequency and voltage conditions. Please refer to Table 27 for details. โฆ Note: Embedded Flash does not verify that the configuration is correct.
pub fn set_latency(&mut self, val: u8)
pub fn set_latency(&mut self, val: u8)
Read latency These bits are used to control the number of wait states used during read operations on both non-volatile memory banks. The application software has to program them to the correct value depending on the embedded Flash memory interface frequency and voltage conditions. Please refer to Table 27 for details. โฆ Note: Embedded Flash does not verify that the configuration is correct.
pub const fn wrhighfreq(&self) -> u8
pub const fn wrhighfreq(&self) -> u8
Flash signal delay These bits are used to control the delay between non-volatile memory signals during programming operations. Application software has to program them to the correct value depending on the embedded Flash memory interface frequency. Please refer to Table 27 for details. Note: Embedded Flash does not verify that the configuration is correct.
pub fn set_wrhighfreq(&mut self, val: u8)
pub fn set_wrhighfreq(&mut self, val: u8)
Flash signal delay These bits are used to control the delay between non-volatile memory signals during programming operations. Application software has to program them to the correct value depending on the embedded Flash memory interface frequency. Please refer to Table 27 for details. Note: Embedded Flash does not verify that the configuration is correct.