Struct veml6075::VEML6075[][src]

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

VEML6075 device driver.

Methods

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

Create new instance of the VEML6075 device.

Destroy driver instance, return I²C bus instance.

Enable the sensor.

Disable the sensor (shutdown).

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

Read the UVA sensor data.

Read the UVB sensor data.

Read the UVcomp1 sensor data.

Read the UVcomp2 sensor data.

Read the device ID

Trait Implementations

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

Formats the value using the given formatter. Read more

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

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

Auto Trait Implementations

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

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