[][src]Struct lpc11xx_async_hal::i2c::Options

pub struct Options {
    pub clock_divisor_hi: u16,
    pub clock_divisor_lo: u16,
}

Global configuration options for the I2C driver.

Fields

clock_divisor_hi: u16

Clock divisor for I2C_PCLK for SCL high.

clock_divisor_lo: u16

Clock divisor for I2C_PCLK for SCL low.

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