pub struct AdcPin<PIN, ADCI, CS = ()> {
pub pin: PIN,
pub cal_scheme: CS,
/* private fields */
}Expand description
An I/O pin which can be read using the ADC.
Fields§
§pin: PINThe underlying GPIO pin
cal_scheme: CSCalibration scheme used for the configured ADC pin
Auto Trait Implementations§
impl<PIN, ADCI, CS> Freeze for AdcPin<PIN, ADCI, CS>
impl<PIN, ADCI, CS> RefUnwindSafe for AdcPin<PIN, ADCI, CS>
impl<PIN, ADCI, CS> Send for AdcPin<PIN, ADCI, CS>
impl<PIN, ADCI, CS> Sync for AdcPin<PIN, ADCI, CS>
impl<PIN, ADCI, CS> Unpin for AdcPin<PIN, ADCI, CS>
impl<PIN, ADCI, CS> UnwindSafe for AdcPin<PIN, ADCI, CS>
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