LibDriver SHT30
Loading...
Searching...
No Matches
driver_sht30_shot.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_SHT30_SHOT_H
39#define DRIVER_SHT30_SHOT_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
51
55#define SHT30_SHOT_DEFAULT_CLOCK_STRETCHING SHT30_BOOL_TRUE
56#define SHT30_SHOT_DEFAULT_REPEATABILITY SHT30_REPEATABILITY_HIGH
57#define SHT30_SHOT_DEFAULT_HEATER SHT30_BOOL_FALSE
58
67uint8_t sht30_shot_init(sht30_address_t addr_pin);
68
78uint8_t sht30_shot_read(float *temperature, float *humidity);
79
87uint8_t sht30_shot_deinit(void);
88
97uint8_t sht30_shot_get_serial_number(uint8_t sn[4]);
98
102
103#ifdef __cplusplus
104}
105#endif
106
107#endif
driver sht30 interface header file
sht30_address_t
sht30 address enumeration definition
uint8_t sht30_shot_deinit(void)
shot example deinit
uint8_t sht30_shot_get_serial_number(uint8_t sn[4])
shot example get serial number
uint8_t sht30_shot_init(sht30_address_t addr_pin)
shot example init
uint8_t sht30_shot_read(float *temperature, float *humidity)
shot example read