Enum ad983x::ControlSource
source · pub enum ControlSource {
Software,
HardwarePins,
}
Expand description
Hardware pin / software control source for the functions: frequency register selection, phase register selection, reset of internal registers, and DAC power-down. (Only available on AD9834 and AD9838 devices)
Variants§
Software
Functions are controlled only through software (default)
HardwarePins
Functions are controlled only through hardware pins
Trait Implementations§
source§impl Clone for ControlSource
impl Clone for ControlSource
source§fn clone(&self) -> ControlSource
fn clone(&self) -> ControlSource
Returns a copy 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 ControlSource
impl Debug for ControlSource
source§impl PartialEq for ControlSource
impl PartialEq for ControlSource
source§fn eq(&self, other: &ControlSource) -> bool
fn eq(&self, other: &ControlSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ControlSource
impl StructuralPartialEq for ControlSource
Auto Trait Implementations§
impl Freeze for ControlSource
impl RefUnwindSafe for ControlSource
impl Send for ControlSource
impl Sync for ControlSource
impl Unpin for ControlSource
impl UnwindSafe for ControlSource
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