Enum stm32f407g_disc::dac::cr::WAVE2_A[]

#[repr(u8)]
pub enum WAVE2_A {
    DISABLED,
    NOISE,
    TRIANGLE,
}

DAC channel2 noise/triangle wave generation enable

Value on reset: 0

Variants

DISABLED

0: Wave generation disabled

NOISE

1: Noise wave generation enabled

TRIANGLE

2: Triangle wave generation enabled

Trait Implementations

impl Clone for WAVE2_A

impl Copy for WAVE2_A

impl Debug for WAVE2_A

impl PartialEq<WAVE2_A> for WAVE2_A

impl StructuralPartialEq for WAVE2_A

Auto Trait Implementations

impl Send for WAVE2_A

impl Sync for WAVE2_A

impl Unpin for WAVE2_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> Same<T> for T

type Output = T

Should always be Self

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.