Type Alias atsame54n::sercom0::spim::ctrla::CPHA_W

source ·
pub type CPHA_W<'a, REG, const O: u8> = BitWriter<'a, REG, O, CPHASELECT_A>;
Expand description

Field CPHA writer - Clock Phase

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> CPHA_W<'a, REG, O>
where REG: Writable + RegisterSpec,

source

pub fn leading_edge(self) -> &'a mut W<REG>

The data is sampled on a leading SCK edge and changed on a trailing SCK edge

source

pub fn trailing_edge(self) -> &'a mut W<REG>

The data is sampled on a trailing SCK edge and changed on a leading SCK edge