Struct nrf52832::adc::AdcChannelSetup
source · 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
source§fn eq(&self, other: &AdcChannelSetup) -> bool
fn eq(&self, other: &AdcChannelSetup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)