Struct max44009::Max44009[][src]

pub struct Max44009<I2C> { /* fields omitted */ }

MAX44009 ambient light sensor driver.

Methods

impl<I2C, E> Max44009<I2C> where
    I2C: Write<Error = E>, 
[src]

Create new instance of the Max44009 device.

Destroy driver instance, return I²C bus instance.

Set the measurement mode.

impl<I2C, E> Max44009<I2C> where
    I2C: WriteRead<Error = E>, 
[src]

Read the lux intensity.

Trait Implementations

impl<I2C: Debug> Debug for Max44009<I2C>
[src]

Formats the value using the given formatter. Read more

impl<I2C: Default> Default for Max44009<I2C>
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<I2C> Send for Max44009<I2C> where
    I2C: Send

impl<I2C> Sync for Max44009<I2C> where
    I2C: Sync