Enum grand_central_m4::thumbv7em::adc::SampleRate[]

#[repr(u8)]
pub enum SampleRate {
    _1,
    _2,
    _4,
    _8,
    _16,
    _32,
    _64,
    _128,
    _256,
    _512,
    _1024,
}
Expand description

Number of Samples to be Collected

Value on reset: 0

Variants

_1

0: 1 sample

_2

1: 2 samples

_4

2: 4 samples

_8

3: 8 samples

_16

4: 16 samples

_32

5: 32 samples

_64

6: 64 samples

_128

7: 128 samples

_256

8: 256 samples

_512

9: 512 samples

_1024

10: 1024 samples

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 !=.

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.

Should always be Self

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.