pub type W = W<CTRL1_SPEC>;
Expand description
Register CTRL1
writer
Aliased Type§
pub struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn clk_mode(&mut self) -> CLK_MODE_W<'_, CTRL1_SPEC>
pub fn clk_mode(&mut self) -> CLK_MODE_W<'_, CTRL1_SPEC>
Bits 0:1 - SPI Bus clock (SPI_CLK) mode bits. 0: SPI Bus clock (SPI_CLK) is off when CS inactive 1: SPI_CLK is delayed one cycle after SPI_CS inactive 2: SPI_CLK is delayed two cycles after SPI_CS inactive 3: SPI_CLK is always on.
Sourcepub fn cs_hold_dly_res(&mut self) -> CS_HOLD_DLY_RES_W<'_, CTRL1_SPEC>
pub fn cs_hold_dly_res(&mut self) -> CS_HOLD_DLY_RES_W<'_, CTRL1_SPEC>
Bits 2:11 - After RES/DP/HPM/PES/PER command is sent, SPI1 may waits (SPI_MEM_CS_HOLD_DELAY_RES[9:0] * 4 or * 256) SPI_CLK cycles.