LibDriver SGP30
Loading...
Searching...
No Matches
driver_sgp30_advance.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_SGP30_ADVANCE_H
39#define DRIVER_SGP30_ADVANCE_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
51
59uint8_t sgp30_advance_init(void);
60
68uint8_t sgp30_advance_deinit(void);
69
79uint8_t sgp30_advance_read(uint16_t *co2_eq_ppm, uint16_t *tvoc_ppb);
80
89uint8_t sgp30_advance_get_serial_id(uint16_t id[3]);
90
100uint8_t sgp30_advance_get_feature(uint8_t *product_type, uint8_t *product_version);
101
111uint8_t sgp30_advance_set_iaq_baseline(uint16_t tvoc, uint16_t co2_eq);
112
122uint8_t sgp30_advance_get_iaq_baseline(uint16_t *tvoc, uint16_t *co2_eq);
123
133uint8_t sgp30_advance_set_absolute_humidity(float temp, float rh);
134
138
139#ifdef __cplusplus
140}
141#endif
142
143#endif
driver sgp30 interface header file
uint8_t sgp30_advance_get_serial_id(uint16_t id[3])
advance example get the serial id
uint8_t sgp30_advance_get_feature(uint8_t *product_type, uint8_t *product_version)
advance example get the chip feature
uint8_t sgp30_advance_set_absolute_humidity(float temp, float rh)
advance example set the absolute humidity
uint8_t sgp30_advance_set_iaq_baseline(uint16_t tvoc, uint16_t co2_eq)
advance example set the chip iaq baseline
uint8_t sgp30_advance_init(void)
advance example init
uint8_t sgp30_advance_deinit(void)
advance example deinit
uint8_t sgp30_advance_read(uint16_t *co2_eq_ppm, uint16_t *tvoc_ppb)
advance example read
uint8_t sgp30_advance_get_iaq_baseline(uint16_t *tvoc, uint16_t *co2_eq)
advance example get the chip iaq baseline