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,
impl<'a, REG, const O: u8> CPHA_W<'a, REG, O>where
REG: Writable + RegisterSpec,
sourcepub fn leading_edge(self) -> &'a mut W<REG>
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
sourcepub fn trailing_edge(self) -> &'a mut W<REG>
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