#[repr(u8)]
pub enum Channel {
A,
B,
C,
D,
ALL,
}
Expand description
Channel selection enum DAC5864 has 4 different channels
Variants
A
Channel A
B
Channel B
C
Channel C
D
Channel D
ALL
All Channels
Implementations
sourceimpl Channel
impl Channel
sourcepub fn from_index(index: u8) -> Channel
pub fn from_index(index: u8) -> Channel
Get the Channel enumeration from an index (begins at 0)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more