ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
#include <ruuvi_task_sensor.h>
Data Fields | |
rd_sensor_t | sensor |
Control structure for sensor. More... | |
rd_sensor_init_fp | init |
Initialization function. More... | |
rd_sensor_configuration_t | configuration |
Sensor configuration. More... | |
uint16_t | nvm_file |
NVM file of configuration. More... | |
uint16_t | nvm_record |
NVM record of configuration. More... | |
uint8_t | handle |
Handle of sensor. More... | |
rd_bus_t | bus |
Bus of sensor. More... | |
ri_gpio_id_t | pwr_pin |
Power control pin. More... | |
ri_gpio_state_t | pwr_on |
Power-on state of ctrl pin. More... | |
ri_gpio_id_t | fifo_pin |
FIFO full interrupt. More... | |
ri_gpio_id_t | level_pin |
Level interrupt. More... | |
ri_i2c_frequency_t | i2c_max_speed |
Maximum I2C speed supported. More... | |
Definition at line 21 of file ruuvi_task_sensor.h.
rd_bus_t bus |
Bus of sensor.
Definition at line 29 of file ruuvi_task_sensor.h.
rd_sensor_configuration_t configuration |
Sensor configuration.
Definition at line 25 of file ruuvi_task_sensor.h.
ri_gpio_id_t fifo_pin |
FIFO full interrupt.
Definition at line 32 of file ruuvi_task_sensor.h.
uint8_t handle |
Handle of sensor.
Definition at line 28 of file ruuvi_task_sensor.h.
ri_i2c_frequency_t i2c_max_speed |
Maximum I2C speed supported.
Definition at line 34 of file ruuvi_task_sensor.h.
rd_sensor_init_fp init |
Initialization function.
Definition at line 24 of file ruuvi_task_sensor.h.
ri_gpio_id_t level_pin |
Level interrupt.
Definition at line 33 of file ruuvi_task_sensor.h.
uint16_t nvm_file |
NVM file of configuration.
Definition at line 26 of file ruuvi_task_sensor.h.
uint16_t nvm_record |
NVM record of configuration.
Definition at line 27 of file ruuvi_task_sensor.h.
ri_gpio_state_t pwr_on |
Power-on state of ctrl pin.
Definition at line 31 of file ruuvi_task_sensor.h.
ri_gpio_id_t pwr_pin |
Power control pin.
Definition at line 30 of file ruuvi_task_sensor.h.
rd_sensor_t sensor |
Control structure for sensor.
Definition at line 23 of file ruuvi_task_sensor.h.