#[repr(u8)]
pub enum WAVE2_A {
DISABLED,
NOISE,
TRIANGLE,
}
Expand description
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 Copy for WAVE2_A
impl StructuralPartialEq for WAVE2_A
Auto Trait Implementations
impl RefUnwindSafe for WAVE2_A
impl Send for WAVE2_A
impl Sync for WAVE2_A
impl Unpin for WAVE2_A
impl UnwindSafe for WAVE2_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more