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
impl Copy for AdcChannelSetup
Source§impl Debug for AdcChannelSetup
impl Debug 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 UnsafeUnpin 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