Struct stm32_hal2::adc::AdcConfig[][src]

pub struct AdcConfig {
    pub clock_mode: ClockMode,
    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: ClockModeoperation_mode: OperationModecal_single_ended: Option<u16>cal_differential: Option<u16>

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.