pub struct AdcPin { /* private fields */ }Expand description
GPIO pin that can be used as an ADC input channel.
This struct is used because there is a bit of setup needed to configure the pin for ADC usage. In theory, at some point in the future, we could reset this to GPIO use on drop.
Implementations§
Auto Trait Implementations§
impl Forget for AdcPin
impl Freeze for AdcPin
impl Move for AdcPin
impl RefUnwindSafe for AdcPin
impl Send for AdcPin
impl Sync for AdcPin
impl Unpin for AdcPin
impl UnsafeUnpin for AdcPin
impl UnwindSafe for AdcPin
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