rp2040_pac::xip_ssi::ctrlr0

Type Alias R

Source
pub type R = R<CTRLR0_SPEC>;
Expand description

Register CTRLR0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn dfs(&self) -> DFS_R

Bits 0:3 - Data frame size

Source

pub fn frf(&self) -> FRF_R

Bits 4:5 - Frame format

Source

pub fn scph(&self) -> SCPH_R

Bit 6 - Serial clock phase

Source

pub fn scpol(&self) -> SCPOL_R

Bit 7 - Serial clock polarity

Source

pub fn tmod(&self) -> TMOD_R

Bits 8:9 - Transfer mode

Source

pub fn slv_oe(&self) -> SLV_OE_R

Bit 10 - Slave output enable

Source

pub fn srl(&self) -> SRL_R

Bit 11 - Shift register loop (test mode)

Source

pub fn cfs(&self) -> CFS_R

Bits 12:15 - Control frame size
Value of n -> n+1 clocks per frame.

Source

pub fn dfs_32(&self) -> DFS_32_R

Bits 16:20 - Data frame size in 32b transfer mode
Value of n -> n+1 clocks per frame.

Source

pub fn spi_frf(&self) -> SPI_FRF_R

Bits 21:22 - SPI frame format

Source

pub fn sste(&self) -> SSTE_R

Bit 24 - Slave select toggle enable