Struct esp32s3_hal::pac::spi1::cache_fctrl::W
pub struct W(_);
Expand description
Register CACHE_FCTRL
writer
Implementations§
§impl W
impl W
pub fn cache_usr_cmd_4byte(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 1>
pub fn cache_usr_cmd_4byte(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 1>
Bit 1 - Set this bit to enable SPI1 transfer with 32 bits address. The value of SPI_MEM_USR_ADDR_BITLEN should be 31.
pub fn fdin_dual(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 3>
pub fn fdin_dual(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 3>
Bit 3 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 2-bm in DIN phase.
pub fn fdout_dual(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 4>
pub fn fdout_dual(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 4>
Bit 4 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 2-bm in DOUT phase.
pub fn faddr_dual(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 5>
pub fn faddr_dual(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 5>
Bit 5 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 2-bm in ADDR phase.
pub fn fdin_quad(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 6>
pub fn fdin_quad(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 6>
Bit 6 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 4-bm in DIN phase.
pub fn fdout_quad(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 7>
pub fn fdout_quad(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 7>
Bit 7 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 4-bm in DOUT phase.
pub fn faddr_quad(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 8>
pub fn faddr_quad(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_FCTRL_SPEC, bool, BitM, 8>
Bit 8 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 4-bm in ADDR phase.
Methods from Deref<Target = W<CACHE_FCTRL_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.