Type Alias WGM0_R

Source
pub type WGM0_R = FieldReader<u8, WGM0_A>;
Expand description

Field WGM0 reader - Waveform Generation Mode

Aliased Type§

struct WGM0_R { /* private fields */ }

Implementations§

Source§

impl WGM0_R

Source

pub fn variant(&self) -> WGM0_A

Get enumerated values variant

Source

pub fn is_normal_top(&self) -> bool

Checks if the value of the field is NORMAL_TOP

Source

pub fn is_pwm_phase(&self) -> bool

Checks if the value of the field is PWM_PHASE

Source

pub fn is_ctc(&self) -> bool

Checks if the value of the field is CTC

Source

pub fn is_pwm_fast(&self) -> bool

Checks if the value of the field is PWM_FAST