pub struct R(_);
Expand description
Register SDCMR
reader
Implementations
sourceimpl R
impl R
sourcepub fn mode(&self) -> FieldReaderRaw<u8, u8>
pub fn mode(&self) -> FieldReaderRaw<u8, u8>
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(&self) -> BitReaderRaw<bool>
pub fn ctb2(&self) -> BitReaderRaw<bool>
Bit 3 - Command Target Bank 2 This bit indicates whether the command will be issued to SDRAM Bank 2 or not.
sourcepub fn ctb1(&self) -> BitReaderRaw<bool>
pub fn ctb1(&self) -> BitReaderRaw<bool>
Bit 4 - Command Target Bank 1 This bit indicates whether the command will be issued to SDRAM Bank 1 or not.
sourcepub fn nrfs(&self) -> FieldReaderRaw<u8, u8>
pub fn nrfs(&self) -> FieldReaderRaw<u8, u8>
Bits 5:8 - Number of Auto-refresh These bits define the number of consecutive Auto-refresh commands issued when MODE = 011. ….
sourcepub fn mrd(&self) -> FieldReaderRaw<u16, u16>
pub fn mrd(&self) -> FieldReaderRaw<u16, u16>
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 = R<SDCMR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.