#[repr(u8)]pub enum WGM0_A {
NORMAL_TOP = 0,
PWM_PHASE = 1,
CTC = 2,
PWM_FAST = 3,
}
Expand description
Waveform Generation Mode
Value on reset: 0
Variants§
NORMAL_TOP = 0
0: Normal, Top: 0xff
, Update: Immediate, Flag: MAX
PWM_PHASE = 1
1: Phase Correct PWM, Top: 0xff
, Update: TOP, Flag: BOTTOM
CTC = 2
2: CTC, Top: OCRA, Update: Immediate, Flag: MAX
PWM_FAST = 3
3: Fast PWM, Top: 0xff
, Update: BOTTOM, Flag: TOP
Trait Implementations§
source§impl PartialEq for WGM0_A
impl PartialEq for WGM0_A
impl Copy for WGM0_A
impl Eq for WGM0_A
impl StructuralPartialEq for WGM0_A
Auto Trait Implementations§
impl Freeze for WGM0_A
impl RefUnwindSafe for WGM0_A
impl Send for WGM0_A
impl Sync for WGM0_A
impl Unpin for WGM0_A
impl UnwindSafe for WGM0_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