Type Alias avr_device::atmega2560::tc2::tccr2a::WGM2_R
source · pub type WGM2_R = FieldReader<u8, WGM2_A>;Expand description
Field WGM2 reader - Waveform Genration Mode
Aliased Type§
struct WGM2_R { /* private fields */ }Implementations§
source§impl WGM2_R
impl WGM2_R
sourcepub fn is_normal_top(&self) -> bool
pub fn is_normal_top(&self) -> bool
Checks if the value of the field is NORMAL_TOP
sourcepub fn is_pwm_phase(&self) -> bool
pub fn is_pwm_phase(&self) -> bool
Checks if the value of the field is PWM_PHASE
sourcepub fn is_pwm_fast(&self) -> bool
pub fn is_pwm_fast(&self) -> bool
Checks if the value of the field is PWM_FAST