pub type W = W<SRAM_CMD_SPEC>;
Expand description
Register SRAM_CMD
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn sclk_mode(&mut self) -> SCLK_MODE_W<'_, SRAM_CMD_SPEC>
pub fn sclk_mode(&mut self) -> SCLK_MODE_W<'_, SRAM_CMD_SPEC>
Bits 0:1 - SPI_CLK mode bits when SPI0 accesses to Ext_RAM. 0: SPI_CLK is off when CS inactive 1: SPI_CLK is delayed one cycle after CS inactive 2: SPI_CLK is delayed two cycles after CS inactive 3: SPI_CLK is always on.
Sourcepub fn swb_mode(&mut self) -> SWB_MODE_W<'_, SRAM_CMD_SPEC>
pub fn swb_mode(&mut self) -> SWB_MODE_W<'_, SRAM_CMD_SPEC>
Bits 2:9 - Mode bits when SPI0 accesses to Ext_RAM.
Sourcepub fn sdin_dual(&mut self) -> SDIN_DUAL_W<'_, SRAM_CMD_SPEC>
pub fn sdin_dual(&mut self) -> SDIN_DUAL_W<'_, SRAM_CMD_SPEC>
Bit 10 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in DIN phase.
Sourcepub fn sdout_dual(&mut self) -> SDOUT_DUAL_W<'_, SRAM_CMD_SPEC>
pub fn sdout_dual(&mut self) -> SDOUT_DUAL_W<'_, SRAM_CMD_SPEC>
Bit 11 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in DOUT phase.
Sourcepub fn saddr_dual(&mut self) -> SADDR_DUAL_W<'_, SRAM_CMD_SPEC>
pub fn saddr_dual(&mut self) -> SADDR_DUAL_W<'_, SRAM_CMD_SPEC>
Bit 12 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in ADDR phase.
Sourcepub fn scmd_dual(&mut self) -> SCMD_DUAL_W<'_, SRAM_CMD_SPEC>
pub fn scmd_dual(&mut self) -> SCMD_DUAL_W<'_, SRAM_CMD_SPEC>
Bit 13 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in CMD phase.
Sourcepub fn sdin_quad(&mut self) -> SDIN_QUAD_W<'_, SRAM_CMD_SPEC>
pub fn sdin_quad(&mut self) -> SDIN_QUAD_W<'_, SRAM_CMD_SPEC>
Bit 14 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in DIN phase.
Sourcepub fn sdout_quad(&mut self) -> SDOUT_QUAD_W<'_, SRAM_CMD_SPEC>
pub fn sdout_quad(&mut self) -> SDOUT_QUAD_W<'_, SRAM_CMD_SPEC>
Bit 15 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in DOUT phase.
Sourcepub fn saddr_quad(&mut self) -> SADDR_QUAD_W<'_, SRAM_CMD_SPEC>
pub fn saddr_quad(&mut self) -> SADDR_QUAD_W<'_, SRAM_CMD_SPEC>
Bit 16 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in ADDR phase.
Sourcepub fn scmd_quad(&mut self) -> SCMD_QUAD_W<'_, SRAM_CMD_SPEC>
pub fn scmd_quad(&mut self) -> SCMD_QUAD_W<'_, SRAM_CMD_SPEC>
Bit 17 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in CMD phase.
Sourcepub fn sdin_oct(&mut self) -> SDIN_OCT_W<'_, SRAM_CMD_SPEC>
pub fn sdin_oct(&mut self) -> SDIN_OCT_W<'_, SRAM_CMD_SPEC>
Bit 18 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in DIN phase.
Sourcepub fn sdout_oct(&mut self) -> SDOUT_OCT_W<'_, SRAM_CMD_SPEC>
pub fn sdout_oct(&mut self) -> SDOUT_OCT_W<'_, SRAM_CMD_SPEC>
Bit 19 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in DOUT phase.
Sourcepub fn saddr_oct(&mut self) -> SADDR_OCT_W<'_, SRAM_CMD_SPEC>
pub fn saddr_oct(&mut self) -> SADDR_OCT_W<'_, SRAM_CMD_SPEC>
Bit 20 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in ADDR phase.
Sourcepub fn scmd_oct(&mut self) -> SCMD_OCT_W<'_, SRAM_CMD_SPEC>
pub fn scmd_oct(&mut self) -> SCMD_OCT_W<'_, SRAM_CMD_SPEC>
Bit 21 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in CMD phase.
Sourcepub fn sdummy_out(&mut self) -> SDUMMY_OUT_W<'_, SRAM_CMD_SPEC>
pub fn sdummy_out(&mut self) -> SDUMMY_OUT_W<'_, SRAM_CMD_SPEC>
Bit 22 - When SPI0 accesses to Ext_RAM, in the DUMMY phase the signal level of SPI bus is output by the SPI0 controller.