#[repr(u8)]
pub enum PRESC_A {
    Div1,
    Div2,
    Div4,
    Div6,
    Div8,
    Div10,
    Div12,
    Div16,
    Div32,
    Div64,
    Div128,
    Div256,
}
Expand description

ADC prescaler

Value on reset: 0

Variants

Div1

0: adc_ker_ck_input not divided

Div2

1: adc_ker_ck_input divided by 2

Div4

2: adc_ker_ck_input divided by 4

Div6

3: adc_ker_ck_input divided by 6

Div8

4: adc_ker_ck_input divided by 8

Div10

5: adc_ker_ck_input divided by 10

Div12

6: adc_ker_ck_input divided by 12

Div16

7: adc_ker_ck_input divided by 16

Div32

8: adc_ker_ck_input divided by 32

Div64

9: adc_ker_ck_input divided by 64

Div128

10: adc_ker_ck_input divided by 128

Div256

11: adc_ker_ck_input divided by 256

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.