nrf52840_pac::spis0::config

Type Alias 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