Type Alias nrf52840_pac::spim0::config::CPOL_W

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

Field CPOL writer - Serial clock (SCK) 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 active_high(self) -> &'a mut W

Active high

source

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

Active low