#[repr(u8)]
pub enum WAVE1_A {
Disabled,
Noise,
Triangle,
}
Expand description
DAC channel1 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 WAVE1_A
impl StructuralPartialEq for WAVE1_A
Auto Trait Implementations
impl RefUnwindSafe for WAVE1_A
impl Send for WAVE1_A
impl Sync for WAVE1_A
impl Unpin for WAVE1_A
impl UnwindSafe for WAVE1_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