Struct stm32_metapac::fmc::regs::Pcr
#[repr(transparent)]pub struct Pcr(pub u32);
Expand description
NAND Flash control registers.
Tuple Fields§
§0: u32
Implementations§
§impl Pcr
impl Pcr
pub const fn pwaiten(&self) -> bool
pub const fn pwaiten(&self) -> bool
Wait feature enable bit Enables the Wait feature for the NAND Flash memory bank:.
pub fn set_pwaiten(&mut self, val: bool)
pub fn set_pwaiten(&mut self, val: bool)
Wait feature enable bit Enables the Wait feature for the NAND Flash memory bank:.
pub const fn pbken(&self) -> bool
pub const fn pbken(&self) -> bool
NAND Flash memory bank enable bit Enables the memory bank. Accessing a disabled memory bank causes an ERROR on AHB bus.
pub fn set_pbken(&mut self, val: bool)
pub fn set_pbken(&mut self, val: bool)
NAND Flash memory bank enable bit Enables the memory bank. Accessing a disabled memory bank causes an ERROR on AHB bus.
pub const fn ptyp(&self) -> Ptyp
pub const fn ptyp(&self) -> Ptyp
Memory type Defines the type of device attached to the corresponding memory bank:.
pub fn set_ptyp(&mut self, val: Ptyp)
pub fn set_ptyp(&mut self, val: Ptyp)
Memory type Defines the type of device attached to the corresponding memory bank:.
pub const fn tclr(&self) -> u8
pub const fn tclr(&self) -> u8
CLE to RE delay Sets time from CLE low to RE low in number of AHB clock cycles (HCLK). Time is t_clr = (TCLR + SET + 2) � THCLK where THCLK is the HCLK clock period Note: SET is MEMSET or ATTSET according to the addressed space.
pub fn set_tclr(&mut self, val: u8)
pub fn set_tclr(&mut self, val: u8)
CLE to RE delay Sets time from CLE low to RE low in number of AHB clock cycles (HCLK). Time is t_clr = (TCLR + SET + 2) � THCLK where THCLK is the HCLK clock period Note: SET is MEMSET or ATTSET according to the addressed space.
pub const fn tar(&self) -> u8
pub const fn tar(&self) -> u8
ALE to RE delay Sets time from ALE low to RE low in number of AHB clock cycles (HCLK). Time is: t_ar = (TAR + SET + 2) � THCLK where THCLK is the HCLK clock period Note: SET is MEMSET or ATTSET according to the addressed space.