Enum stm32f3xx_hal::adc::ClockMode[][src]

#[non_exhaustive]
pub enum ClockMode {
    SyncDiv1,
    SyncDiv2,
    SyncDiv4,
}
Expand description

ADC Clock Mode

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SyncDiv1

Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck

SyncDiv2

Use AHB clock rcc_hclk3 divided by 2

SyncDiv4

Use AHB clock rcc_hclk3 divided by 4

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.