Type Alias avr_device::attiny85::tc0::tccr0a::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