Struct esp32s3_hal::pac::spi0::cache_fctrl::R
pub struct R(_);
Expand description
Register CACHE_FCTRL
reader
Implementations§
§impl R
impl R
pub fn cache_req_en(&self) -> BitReaderRaw<bool>
pub fn cache_req_en(&self) -> BitReaderRaw<bool>
Bit 0 - Set this bit to enable Cache’s access and SPI0’s transfer.
pub fn cache_usr_cmd_4byte(&self) -> BitReaderRaw<bool>
pub fn cache_usr_cmd_4byte(&self) -> BitReaderRaw<bool>
Bit 1 - Set this bit to enable SPI0 read flash with 32 bits address. The value of SPI_MEM_USR_ADDR_BITLEN should be 31.
pub fn cache_flash_usr_cmd(&self) -> BitReaderRaw<bool>
pub fn cache_flash_usr_cmd(&self) -> BitReaderRaw<bool>
Bit 2 - 1: The command value of SPI0 reads flash is SPI_MEM_USR_COMMAND_VALUE. 0: Hardware read command value, controlled by SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QUAD, SPI_MEM_FREAD_DUAL and SPI_MEM_FASTRD_MODE bits.
pub fn fdin_dual(&self) -> BitReaderRaw<bool>
pub fn fdin_dual(&self) -> BitReaderRaw<bool>
Bit 3 - When SPI0 accesses to flash, set this bit to enable 2-bm in DIN phase.
pub fn fdout_dual(&self) -> BitReaderRaw<bool>
pub fn fdout_dual(&self) -> BitReaderRaw<bool>
Bit 4 - When SPI0 accesses to flash, set this bit to enable 2-bm in DOUT phase.
pub fn faddr_dual(&self) -> BitReaderRaw<bool>
pub fn faddr_dual(&self) -> BitReaderRaw<bool>
Bit 5 - When SPI0 accesses to flash, set this bit to enable 2-bm in ADDR phase.
pub fn fdin_quad(&self) -> BitReaderRaw<bool>
pub fn fdin_quad(&self) -> BitReaderRaw<bool>
Bit 6 - When SPI0 accesses to flash, set this bit to enable 4-bm in DIN phase.
pub fn fdout_quad(&self) -> BitReaderRaw<bool>
pub fn fdout_quad(&self) -> BitReaderRaw<bool>
Bit 7 - When SPI0 accesses to flash, set this bit to enable 4-bm in DOUT phase.
pub fn faddr_quad(&self) -> BitReaderRaw<bool>
pub fn faddr_quad(&self) -> BitReaderRaw<bool>
Bit 8 - When SPI0 accesses to flash, set this bit to enable 4-bm in ADDR phase.
Methods from Deref<Target = R<CACHE_FCTRL_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.