pub struct W(_);
Expand description
Register SDCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn nc(&mut self) -> NC_W<'_, 0>
pub fn nc(&mut self) -> NC_W<'_, 0>
Bits 0:1 - Number of column address bits These bits define the number of bits of a column address.
sourcepub fn nr(&mut self) -> NR_W<'_, 2>
pub fn nr(&mut self) -> NR_W<'_, 2>
Bits 2:3 - Number of row address bits These bits define the number of bits of a row address.
sourcepub fn mwid(&mut self) -> MWID_W<'_, 4>
pub fn mwid(&mut self) -> MWID_W<'_, 4>
Bits 4:5 - Memory data bus width. These bits define the memory device width.
sourcepub fn nb(&mut self) -> NB_W<'_, 6>
pub fn nb(&mut self) -> NB_W<'_, 6>
Bit 6 - Number of internal banks This bit sets the number of internal banks.
sourcepub fn cas(&mut self) -> CAS_W<'_, 7>
pub fn cas(&mut self) -> CAS_W<'_, 7>
Bits 7:8 - CAS Latency This bits sets the SDRAM CAS latency in number of memory clock cycles
sourcepub fn wp(&mut self) -> WP_W<'_, 9>
pub fn wp(&mut self) -> WP_W<'_, 9>
Bit 9 - Write protection This bit enables write mode access to the SDRAM bank.
sourcepub fn sdclk(&mut self) -> SDCLK_W<'_, 10>
pub fn sdclk(&mut self) -> SDCLK_W<'_, 10>
Bits 10:11 - SDRAM clock configuration These bits define the SDRAM clock period for both SDRAM banks and allow disabling the clock before changing the frequency. In this case the SDRAM must be re-initialized. Note: The corresponding bits in the FMC_SDCR2 register is read only.
sourcepub fn rburst(&mut self) -> RBURST_W<'_, 12>
pub fn rburst(&mut self) -> RBURST_W<'_, 12>
Bit 12 - Burst read This bit enables burst read mode. The SDRAM controller anticipates the next read commands during the CAS latency and stores data in the Read FIFO. Note: The corresponding bit in the FMC_SDCR2 register is read only.
Methods from Deref<Target = W<SDCR_SPEC>>
Trait Implementations
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