Type Alias atsame70n21b::pwm0::pwm_ch_num::cmr::CPOL_R

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

Field CPOL reader - Channel Polarity

Aliased Type§

struct CPOL_R { /* private fields */ }

Implementations§

source§

impl CPOL_R

source

pub fn variant(&self) -> CPOLSELECT_A

Get enumerated values variant

source

pub fn is_low_polarity(&self) -> bool

Checks if the value of the field is LOW_POLARITY

source

pub fn is_high_polarity(&self) -> bool

Checks if the value of the field is HIGH_POLARITY