[][src]Enum avr_device::atmega2560::tc0::tccr0a::WGM0_A

#[repr(u8)]pub enum WGM0_A {
    NORMAL_TOP,
    PWM_PHASE,
    CTC,
    PWM_FAST,
}

Waveform Generation Mode

Value on reset: 0

Variants

NORMAL_TOP

0: Normal, Top: 0xff, Update: Immediate, Flag: MAX

PWM_PHASE

1: Phase Correct PWM, Top: 0xff, Update: TOP, Flag: BOTTOM

CTC

2: CTC, Top: OCRA, Update: Immediate, Flag: MAX

PWM_FAST

3: Fast PWM, Top: 0xff, Update: TOP, Flag: MAX

Trait Implementations

impl Clone for WGM0_A[src]

impl Copy for WGM0_A[src]

impl Debug for WGM0_A[src]

impl From<WGM0_A> for u8[src]

impl PartialEq<WGM0_A> for WGM0_A[src]

impl StructuralPartialEq for WGM0_A[src]

Auto Trait Implementations

impl Send for WGM0_A

impl Sync for WGM0_A

impl Unpin for WGM0_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.