LibDriver HDC2080
Loading...
Searching...
No Matches
driver_hdc2080_interrupt.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_HDC2080_INTERRUPT_H
38#define DRIVER_HDC2080_INTERRUPT_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define HDC2080_INTERRUPT_DEFAULT_TEMPERATURE_RESOLUTION HDC2080_RESOLUTION_14_BIT
55#define HDC2080_INTERRUPT_DEFAULT_HUMIDITY_RESOLUTION HDC2080_RESOLUTION_14_BIT
56#define HDC2080_INTERRUPT_DEFAULT_HEATER HDC2080_BOOL_FALSE
57#define HDC2080_INTERRUPT_DEFAULT_INTERRUPT_POLARITY HDC2080_INTERRUPT_POLARITY_LOW
58#define HDC2080_INTERRUPT_DEFAULT_INTERRUPT_MODE HDC2080_INTERRUPT_MODE_COMPARATOR
59#define HDC2080_INTERRUPT_DEFAULT_AUTO_MEASUREMENT_MODE HDC2080_AUTO_MEASUREMENT_MODE_5_HZ
60#define HDC2080_INTERRUPT_DEFAULT_TEMPERATURE_OFFSET 0.0f
61#define HDC2080_INTERRUPT_DEFAULT_HUMIDITY_OFFSET 0.0f
62
76 float high_deg, float low_deg,
77 float high_percent, float low_percent);
78
86uint8_t hdc2080_interrupt_deinit(void);
87
97uint8_t hdc2080_interrupt_read(float *temperature, float *humidity);
98
102
103#ifdef __cplusplus
104}
105#endif
106
107#endif
driver hdc2080 interface header file
hdc2080_address_t
hdc2080 address enumeration definition
uint8_t hdc2080_interrupt_read(float *temperature, float *humidity)
interrupt example read
uint8_t hdc2080_interrupt_deinit(void)
interrupt example deinit
uint8_t hdc2080_interrupt_init(hdc2080_address_t addr_pin, float high_deg, float low_deg, float high_percent, float low_percent)
interrupt example init