Struct esp32::spi0::cache_fctrl::W
source · pub struct W(_);
Expand description
Register CACHE_FCTRL
writer
Implementations§
source§impl W
impl W
sourcepub fn cache_req_en(&mut self) -> CACHE_REQ_EN_W<'_, 0>
pub fn cache_req_en(&mut self) -> CACHE_REQ_EN_W<'_, 0>
Bit 0 - For SPI0 Cache access enable 1: enable 0:disable.
sourcepub fn cache_usr_cmd_4byte(&mut self) -> CACHE_USR_CMD_4BYTE_W<'_, 1>
pub fn cache_usr_cmd_4byte(&mut self) -> CACHE_USR_CMD_4BYTE_W<'_, 1>
Bit 1 - For SPI0 cache read flash with 4 bytes command 1: enable 0:disable.
sourcepub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W<'_, 2>
pub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W<'_, 2>
Bit 2 - For SPI0 cache read flash for user define command 1: enable 0:disable.
sourcepub fn cache_flash_pes_en(&mut self) -> CACHE_FLASH_PES_EN_W<'_, 3>
pub fn cache_flash_pes_en(&mut self) -> CACHE_FLASH_PES_EN_W<'_, 3>
Bit 3 - For SPI0 spi1 send suspend command before cache read flash 1: enable 0:disable.
Methods from Deref<Target = W<CACHE_FCTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more