@ VEML6070_HALF_T
1/2 T integration time
enum veml6070_integrationtime veml6070_itime_t
Integration times.
@ VEML6070_ERR_I2C
Error initializing the I2C bus.
veml6070_itime_t itime
Integration time.
unsigned int i2c_t
Default i2c_t type definition.
@ VEML6070_1_T
1 T integration time
int veml6070_init(veml6070_t *dev, const veml6070_params_t *params)
Initialize the given VEML6070 device.
@ VEML6070_OK
Everything was fine.
i2c_t i2c_dev
I2C device which is used.
Device initialization parameters.
Device descriptor for the VEML6070 sensor.
@ VEML6070_2_T
2 T integration time
veml6070_integrationtime
Integration times.
Definition of the generic [S]ensor [A]ctuator [U]ber [L]ayer.
@ VEML6070_4_T
4 T integration time
uint16_t veml6070_read_uv(const veml6070_t *dev)
Read UV index from the given VEML6070 device.
Low-level I2C peripheral driver interface definition.
veml6070_params_t params
Device parameters.