[][src]Struct lpc11xx_async_hal::adc::Options

pub struct Options {
    pub clock_divisor: u8,
}

Global configuration options for the ADC driver.

Fields

clock_divisor: u8

Clock divisor to the ADC input clock (the APB clock).

Note

It is required that PCLK / (divisor + 1) <= 4.5MHz.

Trait Implementations

impl Debug for Options[src]

impl Copy for Options[src]

impl Clone for Options[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for Options

impl Sync for Options

impl Send for Options

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self