Struct esp32c6::spi1::spi_mem_ctrl1::W
source · pub struct W(_);
Expand description
Register SPI_MEM_CTRL1
writer
Implementations§
source§impl W
impl W
sourcepub fn spi_mem_clk_mode(&mut self) -> SPI_MEM_CLK_MODE_W<'_, 0>
pub fn spi_mem_clk_mode(&mut self) -> SPI_MEM_CLK_MODE_W<'_, 0>
Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on.
sourcepub fn spi_mem_cs_hold_dly_res(&mut self) -> SPI_MEM_CS_HOLD_DLY_RES_W<'_, 2>
pub fn spi_mem_cs_hold_dly_res(&mut self) -> SPI_MEM_CS_HOLD_DLY_RES_W<'_, 2>
Bits 2:11 - After RES/DP/HPM command is sent, SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 512) SPI_CLK cycles.
Methods from Deref<Target = W<SPI_MEM_CTRL1_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