LibDriver SHT31
Loading...
Searching...
No Matches
driver_sht31_shot.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_SHT31_SHOT_H
39#define DRIVER_SHT31_SHOT_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
51
55#define SHT31_SHOT_DEFAULT_CLOCK_STRETCHING SHT31_BOOL_TRUE
56#define SHT31_SHOT_DEFAULT_REPEATABILITY SHT31_REPEATABILITY_HIGH
57#define SHT31_SHOT_DEFAULT_HEATER SHT31_BOOL_FALSE
58
67uint8_t sht31_shot_init(sht31_address_t addr_pin);
68
78uint8_t sht31_shot_read(float *temperature, float *humidity);
79
87uint8_t sht31_shot_deinit(void);
88
97uint8_t sht31_shot_get_serial_number(uint8_t sn[4]);
98
102
103#ifdef __cplusplus
104}
105#endif
106
107#endif
driver sht31 interface header file
sht31_address_t
sht31 address enumeration definition
uint8_t sht31_shot_deinit(void)
shot example deinit
uint8_t sht31_shot_read(float *temperature, float *humidity)
shot example read
uint8_t sht31_shot_init(sht31_address_t addr_pin)
shot example init
uint8_t sht31_shot_get_serial_number(uint8_t sn[4])
shot example get serial number