#[repr(u8)]pub enum WAVE1 {
Disabled = 0,
Noise = 1,
Triangle = 2,
}
Expand description
DAC channel%s noise/triangle wave generation enable
Value on reset: 0
Variants§
Disabled = 0
0: Wave generation disabled
Noise = 1
1: Noise wave generation enabled
Triangle = 2
2: Triangle wave generation enabled
Trait Implementations§
impl Copy for WAVE1
impl Eq for WAVE1
impl IsEnum for WAVE1
impl StructuralPartialEq for WAVE1
Auto Trait Implementations§
impl Freeze for WAVE1
impl RefUnwindSafe for WAVE1
impl Send for WAVE1
impl Sync for WAVE1
impl Unpin for WAVE1
impl UnwindSafe for WAVE1
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