pub struct AdcConfig {
pub oversampling_shift: Option<u8>,
pub oversampling_ratio: Option<u8>,
pub oversampling_enable: Option<bool>,
pub resolution: Option<Resolution>,
pub averaging: Option<Averaging>,
}Expand description
Adc configuration
Fields§
§oversampling_shift: Option<u8>§oversampling_ratio: Option<u8>§oversampling_enable: Option<bool>§resolution: Option<Resolution>§averaging: Option<Averaging>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdcConfig
impl RefUnwindSafe for AdcConfig
impl Send for AdcConfig
impl Sync for AdcConfig
impl Unpin for AdcConfig
impl UnwindSafe for AdcConfig
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