Struct esp32s3_hal::pac::spi1::flash_sus_ctrl::R
pub struct R(_);
Expand description
Register FLASH_SUS_CTRL
reader
Implementations§
§impl R
impl R
pub fn flash_pes_en(&self) -> BitReaderRaw<bool>
pub fn flash_pes_en(&self) -> BitReaderRaw<bool>
Bit 0 - Set this bit to enable auto-suspend function.
pub fn flash_per_command(&self) -> FieldReaderRaw<u8, u8>
pub fn flash_per_command(&self) -> FieldReaderRaw<u8, u8>
Bits 1:8 - Program/Erase resume command value.
pub fn flash_pes_command(&self) -> FieldReaderRaw<u8, u8>
pub fn flash_pes_command(&self) -> FieldReaderRaw<u8, u8>
Bits 9:16 - Program/Erase suspend command value.
Methods from Deref<Target = R<FLASH_SUS_CTRL_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_CTRL_SPEC>> for R
impl From<R<FLASH_SUS_CTRL_SPEC>> for R
§fn from(reader: R<FLASH_SUS_CTRL_SPEC>) -> R
fn from(reader: R<FLASH_SUS_CTRL_SPEC>) -> R
Converts to this type from the input type.