pub struct W(_);
Expand description
Register PCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn pwaiten(&mut self) -> BitWriterRaw<'_, u32, PCR_SPEC, bool, BitM, 1>
pub fn pwaiten(&mut self) -> BitWriterRaw<'_, u32, PCR_SPEC, bool, BitM, 1>
Bit 1 - Wait feature enable bit. This bit enables the Wait feature for the NAND Flash memory bank:
sourcepub fn pbken(&mut self) -> BitWriterRaw<'_, u32, PCR_SPEC, bool, BitM, 2>
pub fn pbken(&mut self) -> BitWriterRaw<'_, u32, PCR_SPEC, bool, BitM, 2>
Bit 2 - NAND Flash memory bank enable bit. This bit enables the memory bank. Accessing a disabled memory bank causes an ERROR on AXI bus
sourcepub fn pwid(
&mut self
) -> FieldWriterRaw<'_, u32, PCR_SPEC, u8, u8, Unsafe, 2, 4>
pub fn pwid(
&mut self
) -> FieldWriterRaw<'_, u32, PCR_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - Data bus width. These bits define the external memory device width.
sourcepub fn eccen(&mut self) -> BitWriterRaw<'_, u32, PCR_SPEC, bool, BitM, 6>
pub fn eccen(&mut self) -> BitWriterRaw<'_, u32, PCR_SPEC, bool, BitM, 6>
Bit 6 - ECC computation logic enable bit
sourcepub fn tclr(
&mut self
) -> FieldWriterRaw<'_, u32, PCR_SPEC, u8, u8, Unsafe, 4, 9>
pub fn tclr(
&mut self
) -> FieldWriterRaw<'_, u32, PCR_SPEC, u8, u8, Unsafe, 4, 9>
Bits 9:12 - CLE to RE delay. These bits set time from CLE low to RE low in number of KCK_FMC clock cycles. The time is give by the following formula: t_clr = (TCLR + SET + 2) TKCK_FMC where TKCK_FMC is the KCK_FMC clock period Note: Set is MEMSET or ATTSET according to the addressed space.
sourcepub fn tar(
&mut self
) -> FieldWriterRaw<'_, u32, PCR_SPEC, u8, u8, Unsafe, 4, 13>
pub fn tar(
&mut self
) -> FieldWriterRaw<'_, u32, PCR_SPEC, u8, u8, Unsafe, 4, 13>
Bits 13:16 - ALE to RE delay. These bits set time from ALE low to RE low in number of KCK_FMC clock cycles. Time is: t_ar = (TAR + SET + 2) TKCK_FMC where TKCK_FMC is the FMC clock period Note: Set is MEMSET or ATTSET according to the addressed space.
Methods from Deref<Target = W<PCR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.