pub struct W(_);
Expand description
Register SDCMR
writer
Implementations
sourceimpl W
impl W
sourcepub fn mode(&mut self) -> MODE_W<'_, 0>
pub fn mode(&mut self) -> MODE_W<'_, 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) -> CTB2_W<'_, 3>
pub fn ctb2(&mut self) -> CTB2_W<'_, 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) -> CTB1_W<'_, 4>
pub fn ctb1(&mut self) -> CTB1_W<'_, 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) -> NRFS_W<'_, 5>
pub fn nrfs(&mut self) -> NRFS_W<'_, 5>
Bits 5:8 - Number of Auto-refresh These bits define the number of consecutive Auto-refresh commands issued when MODE = 011. ….
Methods from Deref<Target = W<SDCMR_SPEC>>
Trait Implementations
sourceimpl From<W<SDCMR_SPEC>> for W
impl From<W<SDCMR_SPEC>> for W
sourcefn from(writer: W<SDCMR_SPEC>) -> Self
fn from(writer: W<SDCMR_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more