Type Alias CPOL_R

Source
pub type CPOL_R = BitReader<CPOL>;
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) -> CPOL

Get enumerated values variant

Source

pub fn is_idle_low(&self) -> bool

CK to 0 when idle

Source

pub fn is_idle_high(&self) -> bool

CK to 1 when idle