LibDriver HDC302X
Loading...
Searching...
No Matches
driver_hdc302x_shot.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_HDC302X_SHOT_H
38#define DRIVER_HDC302X_SHOT_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define HDC302X_SHOT_DEFAULT_LOW_POWER_MODE HDC302X_LOW_POWER_MODE_0
55#define HDC302X_SHOT_DEFAULT_HEATER 0
56#define HDC302X_SHOT_DEFAULT_HEATER_POWER 0x03FF
57
67
75uint8_t hdc302x_shot_deinit(void);
76
86uint8_t hdc302x_shot_read(float *temperature, float *humidity);
87
95uint8_t hdc302x_shot_soft_reset(void);
96
105uint8_t hdc302x_shot_get_nist_id(uint8_t id[6]);
106
110
111#ifdef __cplusplus
112}
113#endif
114
115#endif
driver hdc302x interface header file
hdc302x_address_t
hdc302x address enumeration definition
uint8_t hdc302x_shot_get_nist_id(uint8_t id[6])
shot example get nist id
uint8_t hdc302x_shot_deinit(void)
shot example deinit
uint8_t hdc302x_shot_init(hdc302x_address_t addr)
shot example init
uint8_t hdc302x_shot_soft_reset(void)
shot example soft reset
uint8_t hdc302x_shot_read(float *temperature, float *humidity)
shot example read