pub struct AdcConfig {
pub resolution: Option<Resolution>,
pub averaging: Option<Averaging>,
pub dual_mode: Option<Dual>,
pub damdf: Option<Damdf>,
pub dual_delay: Option<u8>,
}Expand description
Adc configuration
Fields§
§resolution: Option<Resolution>§averaging: Option<Averaging>§dual_mode: Option<Dual>Dual-ADC mode for ADC1/ADC2 via ADC12_COMMON (N6 only).
damdf: Option<Damdf>Dual-mode data format in ADC12_COMMON (N6 only).
dual_delay: Option<u8>Delay between dual-ADC sampling phases (N6 only).
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