ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
DPS310 Inteface

Implement rd_sensor_t functions on DPS310. More...

Files

file  ruuvi_interface_dps310.h
 

Functions

rd_status_t ri_dps310_init (rd_sensor_t *p_sensor, rd_bus_t bus, uint8_t handle)
 rd_sensor_init_fp More...
 
rd_status_t ri_dps310_uninit (rd_sensor_t *p_sensor, rd_bus_t bus, uint8_t handle)
 rd_sensor_init_fp More...
 
rd_status_t ri_dps310_samplerate_set (uint8_t *samplerate)
 rd_sensor_setup_fp More...
 
rd_status_t ri_dps310_samplerate_get (uint8_t *samplerate)
 rd_sensor_setup_fp More...
 
rd_status_t ri_dps310_resolution_set (uint8_t *resolution)
 rd_sensor_setup_fp More...
 
rd_status_t ri_dps310_resolution_get (uint8_t *resolution)
 rd_sensor_setup_fp More...
 
rd_status_t ri_dps310_scale_set (uint8_t *scale)
 rd_sensor_setup_fp More...
 
rd_status_t ri_dps310_scale_get (uint8_t *scale)
 rd_sensor_setup_fp More...
 
rd_status_t ri_dps310_dsp_set (uint8_t *dsp, uint8_t *parameter)
 rd_sensor_dsp_fp More...
 
rd_status_t ri_dps310_dsp_get (uint8_t *dsp, uint8_t *parameter)
 rd_sensor_dsp_fp More...
 
rd_status_t ri_dps310_mode_set (uint8_t *mode)
 rd_sensor_setup_fp More...
 
rd_status_t ri_dps310_mode_get (uint8_t *mode)
 rd_sensor_setup_fp More...
 
rd_status_t ri_dps310_data_get (rd_sensor_data_t *const data)
 rd_sensor_data_fp More...
 

Detailed Description

Implement rd_sensor_t functions on DPS310.

The implementation supports different samplerates and oversampling.

Function Documentation

◆ ri_dps310_data_get()

rd_status_t ri_dps310_data_get ( rd_sensor_data_t *const  data)

rd_sensor_data_fp

Definition at line 733 of file ruuvi_interface_dps310.c.

◆ ri_dps310_dsp_get()

rd_status_t ri_dps310_dsp_get ( uint8_t *  dsp,
uint8_t *  parameter 
)

rd_sensor_dsp_fp

Definition at line 613 of file ruuvi_interface_dps310.c.

◆ ri_dps310_dsp_set()

rd_status_t ri_dps310_dsp_set ( uint8_t *  dsp,
uint8_t *  parameter 
)

rd_sensor_dsp_fp

Definition at line 430 of file ruuvi_interface_dps310.c.

◆ ri_dps310_init()

rd_status_t ri_dps310_init ( rd_sensor_t p_sensor,
rd_bus_t  bus,
uint8_t  handle 
)

rd_sensor_init_fp

Definition at line 67 of file ruuvi_interface_dps310.c.

◆ ri_dps310_mode_get()

rd_status_t ri_dps310_mode_get ( uint8_t *  mode)

rd_sensor_setup_fp

Definition at line 705 of file ruuvi_interface_dps310.c.

◆ ri_dps310_mode_set()

rd_status_t ri_dps310_mode_set ( uint8_t *  mode)

rd_sensor_setup_fp

Definition at line 661 of file ruuvi_interface_dps310.c.

◆ ri_dps310_resolution_get()

rd_status_t ri_dps310_resolution_get ( uint8_t *  resolution)

rd_sensor_setup_fp

Definition at line 370 of file ruuvi_interface_dps310.c.

◆ ri_dps310_resolution_set()

rd_status_t ri_dps310_resolution_set ( uint8_t *  resolution)

rd_sensor_setup_fp

Definition at line 342 of file ruuvi_interface_dps310.c.

◆ ri_dps310_samplerate_get()

rd_status_t ri_dps310_samplerate_get ( uint8_t *  samplerate)

rd_sensor_setup_fp

Definition at line 314 of file ruuvi_interface_dps310.c.

◆ ri_dps310_samplerate_set()

rd_status_t ri_dps310_samplerate_set ( uint8_t *  samplerate)

rd_sensor_setup_fp

Definition at line 140 of file ruuvi_interface_dps310.c.

◆ ri_dps310_scale_get()

rd_status_t ri_dps310_scale_get ( uint8_t *  scale)

rd_sensor_setup_fp

Definition at line 414 of file ruuvi_interface_dps310.c.

◆ ri_dps310_scale_set()

rd_status_t ri_dps310_scale_set ( uint8_t *  scale)

rd_sensor_setup_fp

Definition at line 386 of file ruuvi_interface_dps310.c.

◆ ri_dps310_uninit()

rd_status_t ri_dps310_uninit ( rd_sensor_t p_sensor,
rd_bus_t  bus,
uint8_t  handle 
)

rd_sensor_init_fp

Definition at line 122 of file ruuvi_interface_dps310.c.