i2c_t i2c_dev
I2C device which is used.
int8_t si114x_init(si114x_t *dev, const si114x_params_t *params)
Initialize the given Si114x device.
uint16_t si114x_read_ir(si114x_t *dev)
Read IR light value from the given Si114x device, returned in lx.
uint16_t si114x_read_uv(si114x_t *dev)
Read UV index from the given Si114x device.
uint16_t si114x_read_distance(si114x_t *dev)
Read distance measure from the given Si114x device, returned in ADC counts.
unsigned int i2c_t
Default i2c_t type definition.
uint16_t si114x_read_visible(si114x_t *dev)
Read visible light value from the given Si114x device, returned in lx.
si114x_ret_code_t
Initialization return codes.
uint8_t si114x_read_response(si114x_t *dev)
Read the response register.
Device descriptor for the Si114x sensor.
si114x_led_current_t led_current
Proximity LED current.
si114x_params_t params
Si114x initialization parameters.
Definition of the generic [S]ensor [A]ctuator [U]ber [L]ayer.
si114x_led_current_t
Active LED current parameters.
Device initialization parameters.
Low-level I2C peripheral driver interface definition.