ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
ruuvi_interface_tmp117.c File Reference

Go to the source code of this file.

Macros

#define TMP117_CC_RETRIES_MAX   (5U)
 
#define TMP117_CC_RETRY_DELAY_MS   (10U)
 

Functions

rd_status_t ri_tmp117_init (rd_sensor_t *environmental_sensor, rd_bus_t bus, uint8_t handle)
 rd_sensor_init_fp More...
 
rd_status_t ri_tmp117_uninit (rd_sensor_t *environmental_sensor, rd_bus_t bus, uint8_t handle)
 rd_sensor_init_fp More...
 
rd_status_t ri_tmp117_samplerate_set (uint8_t *samplerate)
 rd_sensor_setup_fp More...
 
rd_status_t ri_tmp117_samplerate_get (uint8_t *samplerate)
 rd_sensor_setup_fp More...
 
rd_status_t ri_tmp117_resolution_set (uint8_t *resolution)
 rd_sensor_setup_fp More...
 
rd_status_t ri_tmp117_resolution_get (uint8_t *resolution)
 rd_sensor_setup_fp More...
 
rd_status_t ri_tmp117_scale_set (uint8_t *scale)
 rd_sensor_setup_fp More...
 
rd_status_t ri_tmp117_scale_get (uint8_t *scale)
 rd_sensor_setup_fp More...
 
rd_status_t ri_tmp117_dsp_set (uint8_t *dsp, uint8_t *parameter)
 rd_sensor_dsp_fp More...
 
rd_status_t ri_tmp117_dsp_get (uint8_t *dsp, uint8_t *parameter)
 rd_sensor_dsp_fp More...
 
rd_status_t ri_tmp117_mode_set (uint8_t *mode)
 rd_sensor_setup_fp More...
 
rd_status_t ri_tmp117_mode_get (uint8_t *mode)
 rd_sensor_setup_fp More...
 
rd_status_t ri_tmp117_data_get (rd_sensor_data_t *const data)
 rd_sensor_data_fp More...
 

Detailed Description

Author
Otso Jousimaa otso@.nosp@m.ojou.nosp@m.sima..nosp@m.net
Date
2021-01-25

TMP117 temperature sensor driver.

Definition in file ruuvi_interface_tmp117.c.