pub struct AdcChannelSetup { /* private fields */ }
Implementations§
Source§impl AdcChannelSetup
impl AdcChannelSetup
pub fn new(channel: AdcChannel) -> AdcChannelSetup
pub fn setup( channel: AdcChannel, gain: AdcChannelGain, resp: AdcChannelResistor, resn: AdcChannelResistor, sampling_time: AdcChannelSamplingTime, ) -> AdcChannelSetup
Trait Implementations§
Source§impl Clone for AdcChannelSetup
impl Clone for AdcChannelSetup
Source§fn clone(&self) -> AdcChannelSetup
fn clone(&self) -> AdcChannelSetup
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 AdcChannelSetup
impl Debug for AdcChannelSetup
Source§impl PartialEq for AdcChannelSetup
impl PartialEq for AdcChannelSetup
impl Copy for AdcChannelSetup
Auto Trait Implementations§
impl Freeze for AdcChannelSetup
impl RefUnwindSafe for AdcChannelSetup
impl Send for AdcChannelSetup
impl Sync for AdcChannelSetup
impl Unpin for AdcChannelSetup
impl UnwindSafe for AdcChannelSetup
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