ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_interface_dps310.h
Go to the documentation of this file.
1 #ifndef RUUVI_INTERFACE_DPS310_H
2 #define RUUVI_INTERFACE_DPS310_H
3 #include "ruuvi_driver_error.h"
4 #include "ruuvi_driver_sensor.h"
5 
48 rd_status_t ri_dps310_init (rd_sensor_t * p_sensor, rd_bus_t bus, uint8_t handle);
50 rd_status_t ri_dps310_uninit (rd_sensor_t * p_sensor, rd_bus_t bus, uint8_t handle);
52 rd_status_t ri_dps310_samplerate_set (uint8_t * samplerate);
54 rd_status_t ri_dps310_samplerate_get (uint8_t * samplerate);
56 rd_status_t ri_dps310_resolution_set (uint8_t * resolution);
58 rd_status_t ri_dps310_resolution_get (uint8_t * resolution);
60 rd_status_t ri_dps310_scale_set (uint8_t * scale);
62 rd_status_t ri_dps310_scale_get (uint8_t * scale);
64 rd_status_t ri_dps310_dsp_set (uint8_t * dsp, uint8_t * parameter);
66 rd_status_t ri_dps310_dsp_get (uint8_t * dsp, uint8_t * parameter);
68 rd_status_t ri_dps310_mode_set (uint8_t * mode);
70 rd_status_t ri_dps310_mode_get (uint8_t * mode);
73 
75 #endif // RUUVI_INTERFACE_DPS310_H
rd_status_t ri_dps310_data_get(rd_sensor_data_t *const data)
rd_sensor_data_fp
rd_status_t ri_dps310_scale_set(uint8_t *scale)
rd_sensor_setup_fp
rd_status_t ri_dps310_scale_get(uint8_t *scale)
rd_sensor_setup_fp
rd_status_t ri_dps310_mode_set(uint8_t *mode)
rd_sensor_setup_fp
rd_status_t ri_dps310_mode_get(uint8_t *mode)
rd_sensor_setup_fp
rd_status_t ri_dps310_resolution_get(uint8_t *resolution)
rd_sensor_setup_fp
rd_status_t ri_dps310_resolution_set(uint8_t *resolution)
rd_sensor_setup_fp
rd_status_t ri_dps310_dsp_set(uint8_t *dsp, uint8_t *parameter)
rd_sensor_dsp_fp
rd_status_t ri_dps310_samplerate_get(uint8_t *samplerate)
rd_sensor_setup_fp
rd_status_t ri_dps310_uninit(rd_sensor_t *p_sensor, rd_bus_t bus, uint8_t handle)
rd_sensor_init_fp
rd_status_t ri_dps310_dsp_get(uint8_t *dsp, uint8_t *parameter)
rd_sensor_dsp_fp
rd_status_t ri_dps310_samplerate_set(uint8_t *samplerate)
rd_sensor_setup_fp
rd_status_t ri_dps310_init(rd_sensor_t *p_sensor, rd_bus_t bus, uint8_t handle)
rd_sensor_init_fp
uint32_t rd_status_t
bitfield for representing errors
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...