[][src]Enum avr_hal_generic::adc::ClockDivider

#[repr(u8)]pub enum ClockDivider {
    Factor2,
    Factor4,
    Factor8,
    Factor16,
    Factor32,
    Factor64,
    Factor128,
}

The division factor between the system clock frequency and the input clock to the AD converter.

To get 10-bit precision, clock from 50kHz to 200kHz must be supplied. If you need less precision, you can supply a higher clock.

Variants

Factor2
Factor4
Factor8
Factor16
Factor32
Factor64
Factor128

(default)

Trait Implementations

impl Clone for ClockDivider[src]

impl Copy for ClockDivider[src]

impl Debug for ClockDivider[src]

impl Default for ClockDivider[src]

impl Eq for ClockDivider[src]

impl PartialEq<ClockDivider> for ClockDivider[src]

impl StructuralEq for ClockDivider[src]

impl StructuralPartialEq for ClockDivider[src]

Auto Trait Implementations

impl Send for ClockDivider[src]

impl Sync for ClockDivider[src]

impl Unpin for ClockDivider[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.