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

Field CPOL writer - SPI Clock Polarity

Implementations§

source§

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

source

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

The inactive state value of SPCK is logic level zero

source

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

The inactive state value of SPCK is logic level one