Type Alias atsame70n21b::spi0::csr::CPOL_W

source ·
pub type CPOL_W<'a, const O: u8> = BitWriter<'a, CSR_SPEC, O, CPOLSELECT_A>;
Expand description

Field CPOL writer - Clock Polarity

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 idle_low(self) -> &'a mut W

Clock is low when inactive (CPOL=0)

source

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

Clock is high when inactive (CPOL=1)