Type Alias rp2040_pac::xip_ssi::ctrlr0::W
source · pub type W = W<CTRLR0_SPEC>;
Expand description
Register CTRLR0
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn dfs(&mut self) -> DFS_W<'_, CTRLR0_SPEC>
pub fn dfs(&mut self) -> DFS_W<'_, CTRLR0_SPEC>
Bits 0:3 - Data frame size
sourcepub fn frf(&mut self) -> FRF_W<'_, CTRLR0_SPEC>
pub fn frf(&mut self) -> FRF_W<'_, CTRLR0_SPEC>
Bits 4:5 - Frame format
sourcepub fn scph(&mut self) -> SCPH_W<'_, CTRLR0_SPEC>
pub fn scph(&mut self) -> SCPH_W<'_, CTRLR0_SPEC>
Bit 6 - Serial clock phase
sourcepub fn scpol(&mut self) -> SCPOL_W<'_, CTRLR0_SPEC>
pub fn scpol(&mut self) -> SCPOL_W<'_, CTRLR0_SPEC>
Bit 7 - Serial clock polarity
sourcepub fn tmod(&mut self) -> TMOD_W<'_, CTRLR0_SPEC>
pub fn tmod(&mut self) -> TMOD_W<'_, CTRLR0_SPEC>
Bits 8:9 - Transfer mode
sourcepub fn slv_oe(&mut self) -> SLV_OE_W<'_, CTRLR0_SPEC>
pub fn slv_oe(&mut self) -> SLV_OE_W<'_, CTRLR0_SPEC>
Bit 10 - Slave output enable
sourcepub fn srl(&mut self) -> SRL_W<'_, CTRLR0_SPEC>
pub fn srl(&mut self) -> SRL_W<'_, CTRLR0_SPEC>
Bit 11 - Shift register loop (test mode)
sourcepub fn cfs(&mut self) -> CFS_W<'_, CTRLR0_SPEC>
pub fn cfs(&mut self) -> CFS_W<'_, CTRLR0_SPEC>
Bits 12:15 - Control frame size
Value of n -> n+1 clocks per frame.
sourcepub fn dfs_32(&mut self) -> DFS_32_W<'_, CTRLR0_SPEC>
pub fn dfs_32(&mut self) -> DFS_32_W<'_, CTRLR0_SPEC>
Bits 16:20 - Data frame size in 32b transfer mode
Value of n -> n+1 clocks per frame.
sourcepub fn spi_frf(&mut self) -> SPI_FRF_W<'_, CTRLR0_SPEC>
pub fn spi_frf(&mut self) -> SPI_FRF_W<'_, CTRLR0_SPEC>
Bits 21:22 - SPI frame format
sourcepub fn sste(&mut self) -> SSTE_W<'_, CTRLR0_SPEC>
pub fn sste(&mut self) -> SSTE_W<'_, CTRLR0_SPEC>
Bit 24 - Slave select toggle enable