ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_interface_environmental_mcu.h
Go to the documentation of this file.
1 #ifndef RUUVI_INTERFACE_ENVIRONMENTAL_MCU_H
2 #define RUUVI_INTERFACE_ENVIRONMENTAL_MCU_H
3 #include "ruuvi_driver_error.h"
4 #include "ruuvi_driver_sensor.h"
5 
47  environmental_sensor, rd_bus_t bus, uint8_t handle);
50  rd_sensor_t * environmental_sensor, rd_bus_t bus, uint8_t handle);
53  uint8_t * samplerate);
56  uint8_t * samplerate);
59  uint8_t * resolution);
62  uint8_t * resolution);
69  uint8_t * parameter);
72  uint8_t * parameter);
79  rd_sensor_data_t * const data);
81 #endif
rd_status_t ri_environmental_mcu_mode_set(uint8_t *)
rd_sensor_setup_fp
rd_status_t ri_environmental_mcu_scale_set(uint8_t *scale)
rd_sensor_setup_fp
rd_status_t ri_environmental_mcu_mode_get(uint8_t *)
rd_sensor_setup_fp
rd_status_t ri_environmental_mcu_init(rd_sensor_t *environmental_sensor, rd_bus_t bus, uint8_t handle)
rd_sensor_init_fp
rd_status_t ri_environmental_mcu_resolution_get(uint8_t *resolution)
rd_sensor_setup_fp
rd_status_t ri_environmental_mcu_samplerate_get(uint8_t *samplerate)
rd_sensor_setup_fp
rd_status_t ri_environmental_mcu_samplerate_set(uint8_t *samplerate)
rd_sensor_setup_fp
rd_status_t ri_environmental_mcu_resolution_set(uint8_t *resolution)
rd_sensor_setup_fp
rd_status_t ri_environmental_mcu_dsp_get(uint8_t *dsp, uint8_t *parameter)
rd_sensor_dsp_fp
rd_status_t ri_environmental_mcu_dsp_set(uint8_t *dsp, uint8_t *parameter)
rd_sensor_dsp_fp
rd_status_t ri_environmental_mcu_data_get(rd_sensor_data_t *const data)
rd_sensor_data_fp
rd_status_t ri_environmental_mcu_uninit(rd_sensor_t *environmental_sensor, rd_bus_t bus, uint8_t handle)
rd_sensor_init_fp
rd_status_t ri_environmental_mcu_scale_get(uint8_t *scale)
rd_sensor_setup_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...