Type Alias d1_pac::spi0::spi_tcr::CPHA_W

source ·
pub type CPHA_W<'a, const O: u8> = BitWriter<'a, u32, SPI_TCR_SPEC, CPHA_A, O>;
Expand description

Field cpha writer - SPI Clock/Data Phase Control

Aliased Type§

struct CPHA_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> CPHA_W<'a, O>

source

pub fn p0(self) -> &'a mut W

Phase 0 (Leading edge for sample data)

source

pub fn p1(self) -> &'a mut W

Phase 1 (Leading edge for setup data)