|  | LibDriver HDC2080
    | 
hdc2080 example driver modules More...
| Functions | |
| uint8_t | hdc2080_basic_init (hdc2080_address_t addr_pin) | 
| basic example init | |
| uint8_t | hdc2080_basic_deinit (void) | 
| basic example deinit | |
| uint8_t | hdc2080_basic_read (float *temperature, float *humidity) | 
| basic example read | |
| 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 | |
| uint8_t | hdc2080_interrupt_deinit (void) | 
| interrupt example deinit | |
| uint8_t | hdc2080_interrupt_read (float *temperature, float *humidity) | 
| interrupt example read | |
| uint8_t | hdc2080_shot_init (hdc2080_address_t addr_pin) | 
| shot example init | |
| uint8_t | hdc2080_shot_deinit (void) | 
| shot example deinit | |
| uint8_t | hdc2080_shot_read (float *temperature, float *humidity) | 
| shot example read | |
| uint8_t | hdc2080_shot_get_temperature_max (float *temperature) | 
| shot get temperature max | |
| uint8_t | hdc2080_shot_get_humidity_max (float *percent) | 
| shot get humidity max | |
hdc2080 example driver modules
| #define HDC2080_BASIC_DEFAULT_AUTO_MEASUREMENT_MODE HDC2080_AUTO_MEASUREMENT_MODE_5_HZ | 
5hz
Definition at line 61 of file driver_hdc2080_basic.h.
| #define HDC2080_BASIC_DEFAULT_HEATER HDC2080_BOOL_FALSE | 
disable heater
Definition at line 58 of file driver_hdc2080_basic.h.
| #define HDC2080_BASIC_DEFAULT_HUMIDITY_OFFSET 0.0f | 
0.0f %
Definition at line 63 of file driver_hdc2080_basic.h.
| #define HDC2080_BASIC_DEFAULT_HUMIDITY_RESOLUTION HDC2080_RESOLUTION_14_BIT | 
14bits
Definition at line 57 of file driver_hdc2080_basic.h.
| #define HDC2080_BASIC_DEFAULT_INTERRUPT_MODE HDC2080_INTERRUPT_MODE_COMPARATOR | 
comparator mode
Definition at line 60 of file driver_hdc2080_basic.h.
| #define HDC2080_BASIC_DEFAULT_INTERRUPT_POLARITY HDC2080_INTERRUPT_POLARITY_LOW | 
active low
Definition at line 59 of file driver_hdc2080_basic.h.
| #define HDC2080_BASIC_DEFAULT_TEMPERATURE_OFFSET 0.0f | 
0.0 deg
Definition at line 62 of file driver_hdc2080_basic.h.
| #define HDC2080_BASIC_DEFAULT_TEMPERATURE_RESOLUTION HDC2080_RESOLUTION_14_BIT | 
hdc2080 basic example default definition
14bits
Definition at line 56 of file driver_hdc2080_basic.h.
| #define HDC2080_INTERRUPT_DEFAULT_AUTO_MEASUREMENT_MODE HDC2080_AUTO_MEASUREMENT_MODE_5_HZ | 
5hz
Definition at line 59 of file driver_hdc2080_interrupt.h.
| #define HDC2080_INTERRUPT_DEFAULT_HEATER HDC2080_BOOL_FALSE | 
disable heater
Definition at line 56 of file driver_hdc2080_interrupt.h.
| #define HDC2080_INTERRUPT_DEFAULT_HUMIDITY_OFFSET 0.0f | 
0.0f %
Definition at line 61 of file driver_hdc2080_interrupt.h.
| #define HDC2080_INTERRUPT_DEFAULT_HUMIDITY_RESOLUTION HDC2080_RESOLUTION_14_BIT | 
14bits
Definition at line 55 of file driver_hdc2080_interrupt.h.
| #define HDC2080_INTERRUPT_DEFAULT_INTERRUPT_MODE HDC2080_INTERRUPT_MODE_COMPARATOR | 
comparator mode
Definition at line 58 of file driver_hdc2080_interrupt.h.
| #define HDC2080_INTERRUPT_DEFAULT_INTERRUPT_POLARITY HDC2080_INTERRUPT_POLARITY_LOW | 
active low
Definition at line 57 of file driver_hdc2080_interrupt.h.
| #define HDC2080_INTERRUPT_DEFAULT_TEMPERATURE_OFFSET 0.0f | 
0.0 deg
Definition at line 60 of file driver_hdc2080_interrupt.h.
| #define HDC2080_INTERRUPT_DEFAULT_TEMPERATURE_RESOLUTION HDC2080_RESOLUTION_14_BIT | 
hdc2080 interrupt example default definition
14bits
Definition at line 54 of file driver_hdc2080_interrupt.h.
| #define HDC2080_SHOT_DEFAULT_HEATER HDC2080_BOOL_FALSE | 
disable heater
Definition at line 56 of file driver_hdc2080_shot.h.
| #define HDC2080_SHOT_DEFAULT_HUMIDITY_OFFSET 0.0f | 
0.0f %
Definition at line 60 of file driver_hdc2080_shot.h.
| #define HDC2080_SHOT_DEFAULT_HUMIDITY_RESOLUTION HDC2080_RESOLUTION_14_BIT | 
14bits
Definition at line 55 of file driver_hdc2080_shot.h.
| #define HDC2080_SHOT_DEFAULT_INTERRUPT_MODE HDC2080_INTERRUPT_MODE_COMPARATOR | 
comparator mode
Definition at line 58 of file driver_hdc2080_shot.h.
| #define HDC2080_SHOT_DEFAULT_INTERRUPT_POLARITY HDC2080_INTERRUPT_POLARITY_LOW | 
active low
Definition at line 57 of file driver_hdc2080_shot.h.
| #define HDC2080_SHOT_DEFAULT_TEMPERATURE_OFFSET 0.0f | 
0.0 deg
Definition at line 59 of file driver_hdc2080_shot.h.
| #define HDC2080_SHOT_DEFAULT_TEMPERATURE_RESOLUTION HDC2080_RESOLUTION_14_BIT | 
| uint8_t hdc2080_basic_deinit | ( | void | ) | 
basic example deinit
Definition at line 356 of file driver_hdc2080_basic.c.
| uint8_t hdc2080_basic_init | ( | hdc2080_address_t | addr_pin | ) | 
basic example init
| [in] | addr_pin | address pin | 
Definition at line 49 of file driver_hdc2080_basic.c.
| uint8_t hdc2080_basic_read | ( | float * | temperature, | 
| float * | humidity ) | 
basic example read
| [out] | *temperature | pointer to a converted temperature buffer | 
| [out] | *humidity | pointer to a converted humidity buffer | 
Definition at line 334 of file driver_hdc2080_basic.c.
| uint8_t hdc2080_interrupt_deinit | ( | void | ) | 
interrupt example deinit
Definition at line 372 of file driver_hdc2080_interrupt.c.
| 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
| [in] | addr_pin | address pin | 
| [in] | high_deg | temperature high threshold | 
| [in] | low_deg | temperature low threshold | 
| [in] | high_percent | humidity high threshold | 
| [in] | low_percent | humidity low threshold | 
Definition at line 53 of file driver_hdc2080_interrupt.c.
| uint8_t hdc2080_interrupt_read | ( | float * | temperature, | 
| float * | humidity ) | 
interrupt example read
| [out] | *temperature | pointer to a converted temperature buffer | 
| [out] | *humidity | pointer to a converted humidity buffer | 
Definition at line 350 of file driver_hdc2080_interrupt.c.
| uint8_t hdc2080_shot_deinit | ( | void | ) | 
shot example deinit
Definition at line 414 of file driver_hdc2080_shot.c.
| uint8_t hdc2080_shot_get_humidity_max | ( | float * | percent | ) | 
shot get humidity max
| [out] | *percent | pointer to a converted percent buffer | 
Definition at line 385 of file driver_hdc2080_shot.c.
| uint8_t hdc2080_shot_get_temperature_max | ( | float * | temperature | ) | 
shot get temperature max
| [out] | *temperature | pointer to a converted temperature buffer | 
Definition at line 355 of file driver_hdc2080_shot.c.
| uint8_t hdc2080_shot_init | ( | hdc2080_address_t | addr_pin | ) | 
shot example init
| [in] | addr_pin | address pin | 
Definition at line 49 of file driver_hdc2080_shot.c.
| uint8_t hdc2080_shot_read | ( | float * | temperature, | 
| float * | humidity ) | 
shot example read
| [out] | *temperature | pointer to a converted temperature buffer | 
| [out] | *humidity | pointer to a converted humidity buffer | 
Definition at line 324 of file driver_hdc2080_shot.c.