Struct stm32_hal2::adc::AdcConfig
source · [−]pub struct AdcConfig {
pub clock_mode: ClockMode,
pub prescaler: Prescaler,
pub operation_mode: OperationMode,
pub cal_single_ended: Option<u16>,
pub cal_differential: Option<u16>,
}
Expand description
Initial configuration data for the ADC peripheral.
Fields
clock_mode: ClockMode
prescaler: Prescaler
operation_mode: OperationMode
cal_single_ended: Option<u16>
cal_differential: Option<u16>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AdcConfig
impl Send for AdcConfig
impl Sync for AdcConfig
impl Unpin for AdcConfig
impl UnwindSafe for AdcConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more