Type Alias atsame54n::sercom0::spim::ctrla::CPOL_R

source ·
pub type CPOL_R = BitReader<CPOLSELECT_A>;
Expand description

Field CPOL reader - Clock Polarity

Aliased Type§

struct CPOL_R { /* private fields */ }

Implementations§

source§

impl CPOL_R

source

pub const fn variant(&self) -> CPOLSELECT_A

Get enumerated values variant

source

pub fn is_idle_low(&self) -> bool

SCK is low when idle

source

pub fn is_idle_high(&self) -> bool

SCK is high when idle