Type Alias esp32c3::spi1::flash_sus_cmd::R

source ·
pub type R = R<FLASH_SUS_CMD_SPEC>;
Expand description

Register FLASH_SUS_CMD reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn flash_per_command(&self) -> FLASH_PER_COMMAND_R

Bits 0:7 - Program/Erase resume command.

source

pub fn flash_pes_command(&self) -> FLASH_PES_COMMAND_R

Bits 8:15 - Program/Erase suspend command.

source

pub fn wait_pesr_command(&self) -> WAIT_PESR_COMMAND_R

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.