Type Alias rp2040_pac::xip_ssi::spi_ctrlr0::R

source ·
pub type R = R<SPI_CTRLR0_SPEC>;
Expand description

Register SPI_CTRLR0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn trans_type(&self) -> TRANS_TYPE_R

Bits 0:1 - Address and instruction transfer format

source

pub fn addr_l(&self) -> ADDR_L_R

Bits 2:5 - Address length (0b-60b in 4b increments)

source

pub fn inst_l(&self) -> INST_L_R

Bits 8:9 - Instruction length (0/4/8/16b)

source

pub fn wait_cycles(&self) -> WAIT_CYCLES_R

Bits 11:15 - Wait cycles between control frame transmit and data reception (in SCLK cycles)

source

pub fn spi_ddr_en(&self) -> SPI_DDR_EN_R

Bit 16 - SPI DDR transfer enable

source

pub fn inst_ddr_en(&self) -> INST_DDR_EN_R

Bit 17 - Instruction DDR transfer enable

source

pub fn spi_rxds_en(&self) -> SPI_RXDS_EN_R

Bit 18 - Read data strobe enable

source

pub fn xip_cmd(&self) -> XIP_CMD_R

Bits 24:31 - SPI Command to send in XIP mode (INST_L = 8-bit) or to append to Address (INST_L = 0-bit)