Type Alias esp32c3::spi1::flash_sus_cmd::W
source · pub type W = W<FLASH_SUS_CMD_SPEC>;
Expand description
Register FLASH_SUS_CMD
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn flash_per_command(
&mut self
) -> FLASH_PER_COMMAND_W<'_, FLASH_SUS_CMD_SPEC>
pub fn flash_per_command( &mut self ) -> FLASH_PER_COMMAND_W<'_, FLASH_SUS_CMD_SPEC>
Bits 0:7 - Program/Erase resume command.
sourcepub fn flash_pes_command(
&mut self
) -> FLASH_PES_COMMAND_W<'_, FLASH_SUS_CMD_SPEC>
pub fn flash_pes_command( &mut self ) -> FLASH_PES_COMMAND_W<'_, FLASH_SUS_CMD_SPEC>
Bits 8:15 - Program/Erase suspend command.
sourcepub fn wait_pesr_command(
&mut self
) -> WAIT_PESR_COMMAND_W<'_, FLASH_SUS_CMD_SPEC>
pub fn wait_pesr_command( &mut self ) -> WAIT_PESR_COMMAND_W<'_, FLASH_SUS_CMD_SPEC>
Bits 16:31 - Flash SUS/SUS1/SUS2 status bit read command. The command should be sent when SUS/SUS1/SUS2 bit should be checked to insure the suspend or resume status of flash.