Struct esp32s3_hal::pac::spi1::flash_sus_cmd::R
pub struct R(_);
Expand description
Register FLASH_SUS_CMD
reader
Implementations§
§impl R
impl R
pub fn flash_per(&self) -> BitReaderRaw<bool>
pub fn flash_per(&self) -> BitReaderRaw<bool>
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(&self) -> BitReaderRaw<bool>
pub fn flash_pes(&self) -> BitReaderRaw<bool>
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(&self) -> BitReaderRaw<bool>
pub fn flash_per_wait_en(&self) -> BitReaderRaw<bool>
Bit 2 - Set this bit to add delay time after program erase resume(PER) is sent.
pub fn flash_pes_wait_en(&self) -> BitReaderRaw<bool>
pub fn flash_pes_wait_en(&self) -> BitReaderRaw<bool>
Bit 3 - Set this bit to add delay time after program erase suspend(PES) command is sent.
pub fn pes_per_en(&self) -> BitReaderRaw<bool>
pub fn pes_per_en(&self) -> BitReaderRaw<bool>
Bit 4 - Set this bit to enable PES transfer trigger PES transfer option.
pub fn pesr_idle_en(&self) -> BitReaderRaw<bool>
pub fn pesr_idle_en(&self) -> BitReaderRaw<bool>
Bit 5 - 1: Separate PER flash wait idle and PES flash wait idle. 0: Not separate.
Methods from Deref<Target = R<FLASH_SUS_CMD_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<FLASH_SUS_CMD_SPEC>> for R
impl From<R<FLASH_SUS_CMD_SPEC>> for R
§fn from(reader: R<FLASH_SUS_CMD_SPEC>) -> R
fn from(reader: R<FLASH_SUS_CMD_SPEC>) -> R
Converts to this type from the input type.