#[repr(u8)]pub enum MODE_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 2,
VALUE4 = 3,
VALUE5 = 4,
VALUE6 = 5,
VALUE7 = 6,
VALUE8 = 7,
}
Expand description
Enables and sets the Mode for DAC1
Value on reset: 0
Variants§
VALUE1 = 0
0: disable/switch-off DAC
VALUE2 = 1
1: Single Value Mode
VALUE3 = 2
2: Data Mode
VALUE4 = 3
3: Patgen Mode
VALUE5 = 4
4: Noise Mode
VALUE6 = 5
5: Ramp Mode
VALUE7 = 6
6: na
VALUE8 = 7
7: na
Trait Implementations§
source§impl PartialEq for MODE_A
impl PartialEq for MODE_A
impl Copy for MODE_A
impl Eq for MODE_A
impl IsEnum for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations§
impl Freeze for MODE_A
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_A
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