pub enum PoweredDown {
Nothing,
Dac,
InternalClock,
DacAndInternalClock,
}Expand description
Powered-down device configuration
Variants§
Nothing
All chip parts are enabled (default)
Dac
Power down only the DAC
InternalClock
Disable only the internal clock
DacAndInternalClock
Power down the DAC and disable the internal clock
Trait Implementations§
Source§impl Clone for PoweredDown
impl Clone for PoweredDown
Source§fn clone(&self) -> PoweredDown
fn clone(&self) -> PoweredDown
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PoweredDown
impl Debug for PoweredDown
Source§impl PartialEq for PoweredDown
impl PartialEq for PoweredDown
impl Copy for PoweredDown
impl StructuralPartialEq for PoweredDown
Auto Trait Implementations§
impl Freeze for PoweredDown
impl RefUnwindSafe for PoweredDown
impl Send for PoweredDown
impl Sync for PoweredDown
impl Unpin for PoweredDown
impl UnwindSafe for PoweredDown
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