Enum avr_device::atmega32u4::tc4::tccr4d::WGM4_A
source · #[repr(u8)]pub enum WGM4_A {
PWM_FAST = 0,
PWM_CORRECT = 1,
PWM_SINGLE_SLOPE = 2,
PWM_DUAL_SLOPE = 3,
}
Expand description
Waveform Generation Mode bits
Value on reset: 0
Variants§
PWM_FAST = 0
0: Fast PWM, Update: TOP, Flag: TOP
PWM_CORRECT = 1
1: Phase and Frequency Correct PWM, Update: BOTTOM, Flag: BOTTOM
PWM_SINGLE_SLOPE = 2
2: PWM6 / Single-slope, Update: TOP, Flag: TOP
PWM_DUAL_SLOPE = 3
3: PWM6 / Dual-slope, Update: BOTTOM, Flag: BOTTOM
Trait Implementations§
source§impl PartialEq for WGM4_A
impl PartialEq for WGM4_A
impl Copy for WGM4_A
impl Eq for WGM4_A
impl StructuralPartialEq for WGM4_A
Auto Trait Implementations§
impl RefUnwindSafe for WGM4_A
impl Send for WGM4_A
impl Sync for WGM4_A
impl Unpin for WGM4_A
impl UnwindSafe for WGM4_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more