Type Alias atsame70n21b::spi0::csr::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
impl CPOL_R
sourcepub fn variant(&self) -> CPOLSELECT_A
pub fn variant(&self) -> CPOLSELECT_A
Get enumerated values variant
sourcepub fn is_idle_low(&self) -> bool
pub fn is_idle_low(&self) -> bool
Checks if the value of the field is IDLE_LOW
sourcepub fn is_idle_high(&self) -> bool
pub fn is_idle_high(&self) -> bool
Checks if the value of the field is IDLE_HIGH