pub type CPHA_W<'a, const O: u8> = BitWriter<'a, u32, SPI_MODE_MR_SPI_SPEC, CPHASELECT_A, O>;
Expand description

Field CPHA writer - SPI CLock Phase

Implementations§

source§

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

source

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

Data is changed on the leading edge of SPCK and captured on the following edge of SPCK

source

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

Data is captured on the leading edge of SPCK and changed on the following edge of SPCK