Struct esp32s3::spi1::flash_sus_cmd::W
source · pub struct W(_);Expand description
Register FLASH_SUS_CMD writer
Implementations§
source§impl W
impl W
sourcepub fn flash_per(&mut self) -> FLASH_PER_W<'_, 0>
pub fn flash_per(&mut self) -> FLASH_PER_W<'_, 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.
sourcepub fn flash_pes(&mut self) -> FLASH_PES_W<'_, 1>
pub fn flash_pes(&mut self) -> FLASH_PES_W<'_, 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.
sourcepub fn flash_per_wait_en(&mut self) -> FLASH_PER_WAIT_EN_W<'_, 2>
pub fn flash_per_wait_en(&mut self) -> FLASH_PER_WAIT_EN_W<'_, 2>
Bit 2 - Set this bit to add delay time after program erase resume(PER) is sent.
sourcepub fn flash_pes_wait_en(&mut self) -> FLASH_PES_WAIT_EN_W<'_, 3>
pub fn flash_pes_wait_en(&mut self) -> FLASH_PES_WAIT_EN_W<'_, 3>
Bit 3 - Set this bit to add delay time after program erase suspend(PES) command is sent.
sourcepub fn pes_per_en(&mut self) -> PES_PER_EN_W<'_, 4>
pub fn pes_per_en(&mut self) -> PES_PER_EN_W<'_, 4>
Bit 4 - Set this bit to enable PES transfer trigger PES transfer option.
sourcepub fn pesr_idle_en(&mut self) -> PESR_IDLE_EN_W<'_, 5>
pub fn pesr_idle_en(&mut self) -> PESR_IDLE_EN_W<'_, 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>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more