pub struct W(_);
Expand description
Register SDCMR
writer
Implementations
sourceimpl W
impl W
sourcepub fn mode(
&mut self
) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u8, u8, Unsafe, 3, 0>
pub fn mode(
&mut self
) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u8, u8, Unsafe, 3, 0>
Bits 0:2 - Command mode These bits define the command issued to the SDRAM device. Note: When a command is issued, at least one Command Target Bank bit ( CTB1 or CTB2) must be set otherwise the command will be ignored. Note: If two SDRAM banks are used, the Auto-refresh and PALL command must be issued simultaneously to the two devices with CTB1 and CTB2 bits set otherwise the command will be ignored. Note: If only one SDRAM bank is used and a command is issued with its associated CTB bit set, the other CTB bit of the unused bank must be kept to 0.
sourcepub fn ctb2(&mut self) -> BitWriterRaw<'_, u32, SDCMR_SPEC, bool, BitM, 3>
pub fn ctb2(&mut self) -> BitWriterRaw<'_, u32, SDCMR_SPEC, bool, BitM, 3>
Bit 3 - Command Target Bank 2 This bit indicates whether the command will be issued to SDRAM Bank 2 or not.
sourcepub fn ctb1(&mut self) -> BitWriterRaw<'_, u32, SDCMR_SPEC, bool, BitM, 4>
pub fn ctb1(&mut self) -> BitWriterRaw<'_, u32, SDCMR_SPEC, bool, BitM, 4>
Bit 4 - Command Target Bank 1 This bit indicates whether the command will be issued to SDRAM Bank 1 or not.
sourcepub fn nrfs(
&mut self
) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u8, u8, Unsafe, 4, 5>
pub fn nrfs(
&mut self
) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u8, u8, Unsafe, 4, 5>
Bits 5:8 - Number of Auto-refresh These bits define the number of consecutive Auto-refresh commands issued when MODE = 011. ….
sourcepub fn mrd(
&mut self
) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u16, u16, Unsafe, 14, 9>
pub fn mrd(
&mut self
) -> FieldWriterRaw<'_, u32, SDCMR_SPEC, u16, u16, Unsafe, 14, 9>
Bits 9:22 - Mode Register definition This 14-bit field defines the SDRAM Mode Register content. The Mode Register is programmed using the Load Mode Register command. The MRD[13:0] bits are also used to program the extended mode register for mobile SDRAM.
Methods from Deref<Target = W<SDCMR_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.