Type Alias nrf52840_pac::spim0::config::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