Type Alias rp2040_pac::xip_ssi::ctrlr0::SPI_FRF_W

source ·
pub type SPI_FRF_W<'a, REG> = FieldWriter<'a, REG, 2, SPI_FRF_A>;
Expand description

Field SPI_FRF writer - SPI frame format

Aliased Type§

struct SPI_FRF_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> SPI_FRF_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn std(self) -> &'a mut W<REG>

Standard 1-bit SPI frame format; 1 bit per SCK, full-duplex

source

pub fn dual(self) -> &'a mut W<REG>

Dual-SPI frame format; two bits per SCK, half-duplex

source

pub fn quad(self) -> &'a mut W<REG>

Quad-SPI frame format; four bits per SCK, half-duplex