nrf52840_pac::spim0::config

Type Alias CPHA_W

Source
pub type CPHA_W<'a, const O: u8> = BitWriter<'a, u32, CONFIG_SPEC, CPHA_A, O>;
Expand description

Field CPHA writer - Serial clock (SCK) phase

Aliased Type§

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

Implementations§

Source§

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

Source

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

Sample on leading edge of clock, shift serial data on trailing edge

Source

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

Sample on trailing edge of clock, shift serial data on leading edge