Struct esp32c2_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_command(&self) -> FieldReaderRaw<u8, u8>
pub fn flash_per_command(&self) -> FieldReaderRaw<u8, u8>
Bits 0:7 - Program/Erase resume command.
pub fn flash_pes_command(&self) -> FieldReaderRaw<u8, u8>
pub fn flash_pes_command(&self) -> FieldReaderRaw<u8, u8>
Bits 8:15 - Program/Erase suspend command.
pub fn wait_pesr_command(&self) -> FieldReaderRaw<u16, u16>
pub fn wait_pesr_command(&self) -> FieldReaderRaw<u16, u16>
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.
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.