44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
#ifndef DATAPROC_COMPONENT
|
|
#define DATAPROC_COMPONENT
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct bme680_cal_factors_s {
|
|
/* temperature compensation */
|
|
uint16_t par_T1;
|
|
int16_t par_T2;
|
|
int8_t par_T3;
|
|
float temperature_fine;
|
|
/* humidity compensation */
|
|
uint16_t par_H1;
|
|
uint16_t par_H2;
|
|
int8_t par_H3;
|
|
int8_t par_H4;
|
|
int8_t par_H5;
|
|
uint8_t par_H6;
|
|
int8_t par_H7;
|
|
/* pressure compensation */
|
|
uint16_t par_P1;
|
|
int16_t par_P2;
|
|
int8_t par_P3;
|
|
int16_t par_P4;
|
|
int16_t par_P5;
|
|
int8_t par_P6;
|
|
int8_t par_P7;
|
|
int16_t par_P8;
|
|
int16_t par_P9;
|
|
uint8_t par_P10;
|
|
/* resistance heat compensation */
|
|
int8_t par_G1;
|
|
int16_t par_G2;
|
|
int8_t par_G3;
|
|
/* other */
|
|
uint8_t res_heat_range;
|
|
int8_t res_heat_val;
|
|
int8_t range_switching_error;
|
|
} bme680_cal_factors_t;
|
|
|
|
|
|
|
|
#endif
|