Type Alias atsame54n::sercom0::spis::ctrla::CPHA_R

source ·
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

source

pub const fn variant(&self) -> CPHASELECT_A

Get enumerated values variant

source

pub fn is_leading_edge(&self) -> bool

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

source

pub fn is_trailing_edge(&self) -> bool

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