Type Alias d1_pac::spi0::spi_tcr::CPOL_W

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

Field cpol writer - SPI Clock Polarity Control

Aliased Type§

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

Implementations§

source§

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

source

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

Active high polarity

source

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

Active low polarity