ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
All sensors must implement configuration functions which accept this struct. More...
#include <ruuvi_driver_sensor.h>
Data Fields | |
uint8_t | samplerate |
Samplerate, in Hz. More... | |
uint8_t | resolution |
Resolution, in bits. More... | |
uint8_t | scale |
Scale, in relevant Si-unit. More... | |
uint8_t | dsp_function |
DSP function, one of RD_SENSOR_DSP_* . More... | |
uint8_t | dsp_parameter |
Parameter to DSP functions. More... | |
uint8_t | mode |
Mode, RD_SENSOR_SLEEP, _SINGLE, _CONTINOUS. More... | |
uint8_t | reserved0 |
Reserved for future use. More... | |
uint8_t | reserved1 |
Reserved for future use. More... | |
All sensors must implement configuration functions which accept this struct.
Definition at line 104 of file ruuvi_driver_sensor.h.
uint8_t dsp_function |
DSP function, one of RD_SENSOR_DSP_*
.
Definition at line 109 of file ruuvi_driver_sensor.h.
uint8_t dsp_parameter |
Parameter to DSP functions.
Definition at line 110 of file ruuvi_driver_sensor.h.
uint8_t mode |
Mode, RD_SENSOR_SLEEP, _SINGLE, _CONTINOUS.
Definition at line 111 of file ruuvi_driver_sensor.h.
uint8_t reserved0 |
Reserved for future use.
Definition at line 112 of file ruuvi_driver_sensor.h.
uint8_t reserved1 |
Reserved for future use.
Definition at line 113 of file ruuvi_driver_sensor.h.
uint8_t resolution |
Resolution, in bits.
Definition at line 107 of file ruuvi_driver_sensor.h.
uint8_t samplerate |
Samplerate, in Hz.
Definition at line 106 of file ruuvi_driver_sensor.h.
uint8_t scale |
Scale, in relevant Si-unit.
Definition at line 108 of file ruuvi_driver_sensor.h.