Struct esp32s3_hal::pac::spi1::flash_sus_cmd::W
pub struct W(_);
Expand description
Register FLASH_SUS_CMD
writer
Implementations§
§impl W
impl W
pub fn flash_per(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 0>
pub fn flash_per(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 0>
Bit 0 - program erase resume bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable.
pub fn flash_pes(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 1>
pub fn flash_pes(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 1>
Bit 1 - program erase suspend bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable.
pub fn flash_per_wait_en(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 2>
pub fn flash_per_wait_en(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 2>
Bit 2 - Set this bit to add delay time after program erase resume(PER) is sent.
pub fn flash_pes_wait_en(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 3>
pub fn flash_pes_wait_en(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 3>
Bit 3 - Set this bit to add delay time after program erase suspend(PES) command is sent.
pub fn pes_per_en(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 4>
pub fn pes_per_en(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 4>
Bit 4 - Set this bit to enable PES transfer trigger PES transfer option.
pub fn pesr_idle_en(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 5>
pub fn pesr_idle_en(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_SUS_CMD_SPEC, bool, BitM, 5>
Bit 5 - 1: Separate PER flash wait idle and PES flash wait idle. 0: Not separate.
Methods from Deref<Target = W<FLASH_SUS_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.