1 #ifndef RUUVI_INTERFACE_SHTCX_H
2 #define RUUVI_INTERFACE_SHTCX_H
48 #define RI_SHTCX_WAKEUP_US (240U)
52 environmental_sensor,
rd_bus_t bus, uint8_t handle);
55 environmental_sensor,
rd_bus_t bus, uint8_t handle);
uint32_t rd_status_t
bitfield for representing errors
rd_status_t ri_shtcx_uninit(rd_sensor_t *environmental_sensor, rd_bus_t bus, uint8_t handle)
rd_sensor_init_fp
rd_status_t ri_shtcx_scale_set(uint8_t *scale)
rd_sensor_setup_fp
rd_status_t ri_shtcx_samplerate_set(uint8_t *samplerate)
rd_sensor_setup_fp
rd_status_t ri_shtcx_dsp_get(uint8_t *dsp, uint8_t *parameter)
rd_status_t ri_shtcx_dsp_set(uint8_t *dsp, uint8_t *parameter)
rd_sensor_setup_fp
rd_status_t ri_shtcx_init(rd_sensor_t *environmental_sensor, rd_bus_t bus, uint8_t handle)
rd_sensor_init_fp
rd_status_t ri_shtcx_scale_get(uint8_t *scale)
rd_sensor_setup_fp
rd_status_t ri_shtcx_data_get(rd_sensor_data_t *const p_data)
rd_sensor_data_fp
rd_status_t ri_shtcx_samplerate_get(uint8_t *samplerate)
rd_sensor_setup_fp
rd_status_t ri_shtcx_resolution_get(uint8_t *resolution)
rd_sensor_setup_fp
rd_status_t ri_shtcx_mode_get(uint8_t *)
rd_sensor_setup_fp
rd_status_t ri_shtcx_mode_set(uint8_t *)
rd_sensor_setup_fp
rd_status_t ri_shtcx_resolution_set(uint8_t *resolution)
rd_sensor_setup_fp
rd_bus_t
Type of bus sensor uses.
Ruuvi error codes and error check function.
Ruuvi sensor interface Lifecycle: Beta
Generic sensor data struct.
Interface to sensor. Some sensors can implement additional functions. The additional functions are de...