Struct esp32c2::spi1::sus_status::W
source · pub struct W(_);
Expand description
Register SUS_STATUS
writer
Implementations§
source§impl W
impl W
sourcepub fn flash_sus(&mut self) -> FLASH_SUS_W<'_, 0>
pub fn flash_sus(&mut self) -> FLASH_SUS_W<'_, 0>
Bit 0 - The status of flash suspend, only used in SPI1.
sourcepub fn wait_pesr_cmd_2b(&mut self) -> WAIT_PESR_CMD_2B_W<'_, 1>
pub fn wait_pesr_cmd_2b(&mut self) -> WAIT_PESR_CMD_2B_W<'_, 1>
Bit 1 - 1: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND[15:0] to check SUS/SUS1/SUS2 bit. 0: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND[7:0] to check SUS/SUS1/SUS2 bit.
sourcepub fn flash_hpm_dly_128(&mut self) -> FLASH_HPM_DLY_128_W<'_, 2>
pub fn flash_hpm_dly_128(&mut self) -> FLASH_HPM_DLY_128_W<'_, 2>
Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 128) SPI_CLK cycles after HPM command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 4) SPI_CLK cycles after HPM command is sent.
sourcepub fn flash_res_dly_128(&mut self) -> FLASH_RES_DLY_128_W<'_, 3>
pub fn flash_res_dly_128(&mut self) -> FLASH_RES_DLY_128_W<'_, 3>
Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 128) SPI_CLK cycles after RES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 4) SPI_CLK cycles after RES command is sent.
sourcepub fn flash_dp_dly_128(&mut self) -> FLASH_DP_DLY_128_W<'_, 4>
pub fn flash_dp_dly_128(&mut self) -> FLASH_DP_DLY_128_W<'_, 4>
Bit 4 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 128) SPI_CLK cycles after DP command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 4) SPI_CLK cycles after DP command is sent.
sourcepub fn flash_per_dly_128(&mut self) -> FLASH_PER_DLY_128_W<'_, 5>
pub fn flash_per_dly_128(&mut self) -> FLASH_PER_DLY_128_W<'_, 5>
Bit 5 - Valid when SPI_MEM_FLASH_PER_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 128) SPI_CLK cycles after PER command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 4) SPI_CLK cycles after PER command is sent.
sourcepub fn flash_pes_dly_128(&mut self) -> FLASH_PES_DLY_128_W<'_, 6>
pub fn flash_pes_dly_128(&mut self) -> FLASH_PES_DLY_128_W<'_, 6>
Bit 6 - Valid when SPI_MEM_FLASH_PES_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 128) SPI_CLK cycles after PES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 4) SPI_CLK cycles after PES command is sent.
sourcepub fn spi0_lock_en(&mut self) -> SPI0_LOCK_EN_W<'_, 7>
pub fn spi0_lock_en(&mut self) -> SPI0_LOCK_EN_W<'_, 7>
Bit 7 - 1: Enable SPI0 lock SPI0/1 arbiter option. 0: Disable it.