pub type CPHA_R = BitReader<CPHASELECT_A>;
Expand description
Field CPHA
reader - Clock Phase
Aliased Type§
struct CPHA_R { /* private fields */ }
Implementations§
source§impl CPHA_R
impl CPHA_R
sourcepub const fn variant(&self) -> CPHASELECT_A
pub const fn variant(&self) -> CPHASELECT_A
Get enumerated values variant
sourcepub fn is_leading_edge(&self) -> bool
pub fn is_leading_edge(&self) -> bool
The data is sampled on a leading SCK edge and changed on a trailing SCK edge
sourcepub fn is_trailing_edge(&self) -> bool
pub fn is_trailing_edge(&self) -> bool
The data is sampled on a trailing SCK edge and changed on a leading SCK edge