pub struct W(_);
Expand description
Register SRAM_CMD
writer
Implementations§
§impl W
impl W
pub fn sram_dio(
&mut self
) -> BitWriterRaw<'_, u32, SRAM_CMD_SPEC, bool, BitM, 0>
pub fn sram_dio(
&mut self
) -> BitWriterRaw<'_, u32, SRAM_CMD_SPEC, bool, BitM, 0>
Bit 0 - For SPI0 SRAM DIO mode enable . SRAM DIO enable command will be send when the bit is set. The bit will be cleared once the operation done.
pub fn sram_qio(
&mut self
) -> BitWriterRaw<'_, u32, SRAM_CMD_SPEC, bool, BitM, 1>
pub fn sram_qio(
&mut self
) -> BitWriterRaw<'_, u32, SRAM_CMD_SPEC, bool, BitM, 1>
Bit 1 - For SPI0 SRAM QIO mode enable . SRAM QIO enable command will be send when the bit is set. The bit will be cleared once the operation done.
pub fn sram_rstio(
&mut self
) -> BitWriterRaw<'_, u32, SRAM_CMD_SPEC, bool, BitM, 4>
pub fn sram_rstio(
&mut self
) -> BitWriterRaw<'_, u32, SRAM_CMD_SPEC, bool, BitM, 4>
Bit 4 - For SPI0 SRAM IO mode reset enable. SRAM IO mode reset operation will be triggered when the bit is set. The bit will be cleared once the operation done
Methods from Deref<Target = W<SRAM_CMD_SPEC>>§
pub 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.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<SRAM_CMD_SPEC>> for W
impl From<W<SRAM_CMD_SPEC>> for W
§fn from(writer: W<SRAM_CMD_SPEC>) -> W
fn from(writer: W<SRAM_CMD_SPEC>) -> W
Converts to this type from the input type.