|  | LibDriver HDC2080
    | 
hdc2080 basic driver modules More...
| Data Structures | |
| struct | hdc2080_handle_s | 
| hdc2080 handle structure definition  More... | |
| struct | hdc2080_info_s | 
| hdc2080 information structure definition  More... | |
| Typedefs | |
| typedef struct hdc2080_handle_s | hdc2080_handle_t | 
| hdc2080 handle structure definition | |
| typedef struct hdc2080_info_s | hdc2080_info_t | 
| hdc2080 information structure definition | |
| Functions | |
| uint8_t | hdc2080_info (hdc2080_info_t *info) | 
| get chip's information | |
| uint8_t | hdc2080_set_addr_pin (hdc2080_handle_t *handle, hdc2080_address_t addr_pin) | 
| set the iic address pin | |
| uint8_t | hdc2080_get_addr_pin (hdc2080_handle_t *handle, hdc2080_address_t *addr_pin) | 
| get the iic address pin | |
| uint8_t | hdc2080_init (hdc2080_handle_t *handle) | 
| initialize the chip | |
| uint8_t | hdc2080_deinit (hdc2080_handle_t *handle) | 
| close the chip | |
| uint8_t | hdc2080_read_temperature_humidity (hdc2080_handle_t *handle, uint16_t *temperature_raw, float *temperature_s, uint16_t *humidity_raw, float *humidity_s) | 
| read the temperature and humidity data | |
| uint8_t | hdc2080_read_temperature (hdc2080_handle_t *handle, uint16_t *temperature_raw, float *temperature_s) | 
| read the temperature | |
| uint8_t | hdc2080_read_humidity (hdc2080_handle_t *handle, uint16_t *humidity_raw, float *humidity_s) | 
| read the humidity data | |
| uint8_t | hdc2080_read_poll (hdc2080_handle_t *handle) | 
| read poll | |
| uint8_t | hdc2080_set_temperature_resolution (hdc2080_handle_t *handle, hdc2080_resolution_t resolution) | 
| set temperature resolution | |
| uint8_t | hdc2080_get_temperature_resolution (hdc2080_handle_t *handle, hdc2080_resolution_t *resolution) | 
| get temperature resolution | |
| uint8_t | hdc2080_set_humidity_resolution (hdc2080_handle_t *handle, hdc2080_resolution_t resolution) | 
| set humidity resolution | |
| uint8_t | hdc2080_get_humidity_resolution (hdc2080_handle_t *handle, hdc2080_resolution_t *resolution) | 
| get humidity resolution | |
| uint8_t | hdc2080_set_mode (hdc2080_handle_t *handle, hdc2080_mode_t mode) | 
| set the chip mode | |
| uint8_t | hdc2080_get_mode (hdc2080_handle_t *handle, hdc2080_mode_t *mode) | 
| get the chip mode | |
| uint8_t | hdc2080_set_measurement (hdc2080_handle_t *handle, hdc2080_bool_t enable) | 
| enable or disable measurement | |
| uint8_t | hdc2080_get_measurement (hdc2080_handle_t *handle, hdc2080_bool_t *enable) | 
| get measurement status | |
| uint8_t | hdc2080_soft_reset (hdc2080_handle_t *handle) | 
| soft reset | |
| uint8_t | hdc2080_set_auto_measurement_mode (hdc2080_handle_t *handle, hdc2080_auto_measurement_mode_t mode) | 
| set auto measurement mode | |
| uint8_t | hdc2080_get_auto_measurement_mode (hdc2080_handle_t *handle, hdc2080_auto_measurement_mode_t *mode) | 
| get auto measurement mode | |
| uint8_t | hdc2080_set_heater (hdc2080_handle_t *handle, hdc2080_bool_t enable) | 
| enable or disable heater | |
| uint8_t | hdc2080_get_heater (hdc2080_handle_t *handle, hdc2080_bool_t *enable) | 
| get heater status | |
| uint8_t | hdc2080_set_interrupt_pin (hdc2080_handle_t *handle, hdc2080_bool_t enable) | 
| enable or disable interrupt pin | |
| uint8_t | hdc2080_get_interrupt_pin (hdc2080_handle_t *handle, hdc2080_bool_t *enable) | 
| get interrupt pin status | |
| uint8_t | hdc2080_set_interrupt_polarity (hdc2080_handle_t *handle, hdc2080_interrupt_polarity_t polarity) | 
| set interrupt polarity | |
| uint8_t | hdc2080_get_interrupt_polarity (hdc2080_handle_t *handle, hdc2080_interrupt_polarity_t *polarity) | 
| get interrupt polarity | |
| uint8_t | hdc2080_set_interrupt_mode (hdc2080_handle_t *handle, hdc2080_interrupt_mode_t mode) | 
| set interrupt mode | |
| uint8_t | hdc2080_get_interrupt_mode (hdc2080_handle_t *handle, hdc2080_interrupt_mode_t *mode) | 
| get interrupt mode | |
| uint8_t | hdc2080_set_humidity_high_threshold (hdc2080_handle_t *handle, uint8_t threshold) | 
| set humidity high threshold | |
| uint8_t | hdc2080_get_humidity_high_threshold (hdc2080_handle_t *handle, uint8_t *threshold) | 
| get humidity high threshold | |
| uint8_t | hdc2080_set_humidity_low_threshold (hdc2080_handle_t *handle, uint8_t threshold) | 
| set humidity low threshold | |
| uint8_t | hdc2080_get_humidity_low_threshold (hdc2080_handle_t *handle, uint8_t *threshold) | 
| get humidity low threshold | |
| uint8_t | hdc2080_set_temperature_high_threshold (hdc2080_handle_t *handle, uint8_t threshold) | 
| set temperature high threshold | |
| uint8_t | hdc2080_get_temperature_high_threshold (hdc2080_handle_t *handle, uint8_t *threshold) | 
| get temperature high threshold | |
| uint8_t | hdc2080_set_temperature_low_threshold (hdc2080_handle_t *handle, uint8_t threshold) | 
| set temperature low threshold | |
| uint8_t | hdc2080_get_temperature_low_threshold (hdc2080_handle_t *handle, uint8_t *threshold) | 
| get temperature low threshold | |
| uint8_t | hdc2080_set_humidity_offset_adjustment (hdc2080_handle_t *handle, int8_t offset) | 
| set humidity offset adjustment | |
| uint8_t | hdc2080_get_humidity_offset_adjustment (hdc2080_handle_t *handle, int8_t *offset) | 
| get humidity offset adjustment | |
| uint8_t | hdc2080_set_temperature_offset_adjustment (hdc2080_handle_t *handle, int8_t offset) | 
| set temperature offset adjustment | |
| uint8_t | hdc2080_get_temperature_offset_adjustment (hdc2080_handle_t *handle, int8_t *offset) | 
| get temperature offset adjustment | |
| uint8_t | hdc2080_set_interrupt (hdc2080_handle_t *handle, hdc2080_interrupt_t interrupt, hdc2080_bool_t enable) | 
| enable or disable interrupt | |
| uint8_t | hdc2080_get_interrupt (hdc2080_handle_t *handle, hdc2080_interrupt_t interrupt, hdc2080_bool_t *enable) | 
| get interrupt status | |
| uint8_t | hdc2080_set_humidity_max (hdc2080_handle_t *handle, uint8_t max) | 
| set humidity max | |
| uint8_t | hdc2080_get_humidity_max (hdc2080_handle_t *handle, uint8_t *max) | 
| get humidity max | |
| uint8_t | hdc2080_set_temperature_max (hdc2080_handle_t *handle, uint8_t max) | 
| set temperature max | |
| uint8_t | hdc2080_get_temperature_max (hdc2080_handle_t *handle, uint8_t *max) | 
| get temperature max | |
| uint8_t | hdc2080_get_interrupt_status (hdc2080_handle_t *handle, uint8_t *status) | 
| get interrupt status | |
| uint8_t | hdc2080_humidity_convert_to_register (hdc2080_handle_t *handle, float percent, uint8_t *reg) | 
| convert the humidity to the register raw data | |
| uint8_t | hdc2080_humidity_convert_to_data (hdc2080_handle_t *handle, uint8_t reg, float *percent) | 
| convert the register raw data to the humidity | |
| uint8_t | hdc2080_temperature_convert_to_register (hdc2080_handle_t *handle, float deg, uint8_t *reg) | 
| convert the temperature to the register raw data | |
| uint8_t | hdc2080_temperature_convert_to_data (hdc2080_handle_t *handle, uint8_t reg, float *deg) | 
| convert the register raw data to the temperature | |
| uint8_t | hdc2080_humidity_offset_convert_to_register (hdc2080_handle_t *handle, float percent, int8_t *reg) | 
| convert the humidity offset to the register raw data | |
| uint8_t | hdc2080_humidity_offset_convert_to_data (hdc2080_handle_t *handle, int8_t reg, float *percent) | 
| convert the register raw data to the humidity offset | |
| uint8_t | hdc2080_temperature_offset_convert_to_register (hdc2080_handle_t *handle, float deg, int8_t *reg) | 
| convert the temperature offset to the register raw data | |
| uint8_t | hdc2080_temperature_offset_convert_to_data (hdc2080_handle_t *handle, int8_t reg, float *deg) | 
| convert the register raw data to the temperature offset | |
hdc2080 basic driver modules
| typedef struct hdc2080_handle_s hdc2080_handle_t | 
hdc2080 handle structure definition
| typedef struct hdc2080_info_s hdc2080_info_t | 
hdc2080 information structure definition
| enum hdc2080_address_t | 
hdc2080 address enumeration definition
| Enumerator | |
|---|---|
| HDC2080_ADDRESS_0 | addr pin connected to the GND | 
| HDC2080_ADDRESS_1 | addr pin connected to the VCC | 
Definition at line 62 of file driver_hdc2080.h.
hdc2080 auto measurement mode enumeration definition
Definition at line 99 of file driver_hdc2080.h.
| enum hdc2080_bool_t | 
hdc2080 bool enumeration definition
| Enumerator | |
|---|---|
| HDC2080_BOOL_FALSE | disable | 
| HDC2080_BOOL_TRUE | enable | 
Definition at line 71 of file driver_hdc2080.h.
hdc2080 interrupt mode enumeration definition
| Enumerator | |
|---|---|
| HDC2080_INTERRUPT_MODE_LEVEL | level sensitive | 
| HDC2080_INTERRUPT_MODE_COMPARATOR | comparator mode | 
Definition at line 135 of file driver_hdc2080.h.
hdc2080 interrupt polarity enumeration definition
| Enumerator | |
|---|---|
| HDC2080_INTERRUPT_POLARITY_LOW | active low | 
| HDC2080_INTERRUPT_POLARITY_HIGH | active high | 
Definition at line 114 of file driver_hdc2080.h.
| enum hdc2080_interrupt_t | 
hdc2080 interrupt enumeration definition
Definition at line 123 of file driver_hdc2080.h.
| enum hdc2080_mode_t | 
hdc2080 mode enumeration definition
| Enumerator | |
|---|---|
| HDC2080_MODE_HUMIDITY_TEMPERATURE | humidity temperature | 
| HDC2080_MODE_TEMPERATURE | temperature only | 
Definition at line 90 of file driver_hdc2080.h.
| enum hdc2080_resolution_t | 
hdc2080 resolution enumeration definition
| Enumerator | |
|---|---|
| HDC2080_RESOLUTION_14_BIT | 14 bit | 
| HDC2080_RESOLUTION_11_BIT | 11 bit | 
| HDC2080_RESOLUTION_9_BIT | 9 bit | 
Definition at line 80 of file driver_hdc2080.h.
| uint8_t hdc2080_deinit | ( | hdc2080_handle_t * | handle | ) | 
close the chip
| [in] | *handle | pointer to an hdc2080 handle structure | 
Definition at line 294 of file driver_hdc2080.c.
| uint8_t hdc2080_get_addr_pin | ( | hdc2080_handle_t * | handle, | 
| hdc2080_address_t * | addr_pin ) | 
get the iic address pin
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *addr_pin | pointer to an address pin buffer | 
Definition at line 151 of file driver_hdc2080.c.
| uint8_t hdc2080_get_auto_measurement_mode | ( | hdc2080_handle_t * | handle, | 
| hdc2080_auto_measurement_mode_t * | mode ) | 
get auto measurement mode
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *mode | pointer to a mode buffer | 
Definition at line 763 of file driver_hdc2080.c.
| uint8_t hdc2080_get_heater | ( | hdc2080_handle_t * | handle, | 
| hdc2080_bool_t * | enable ) | 
get heater status
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *enable | pointer to a bool value buffer | 
Definition at line 845 of file driver_hdc2080.c.
| uint8_t hdc2080_get_humidity_high_threshold | ( | hdc2080_handle_t * | handle, | 
| uint8_t * | threshold ) | 
get humidity high threshold
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *threshold | pointer to a threshold buffer | 
Definition at line 1165 of file driver_hdc2080.c.
| uint8_t hdc2080_get_humidity_low_threshold | ( | hdc2080_handle_t * | handle, | 
| uint8_t * | threshold ) | 
get humidity low threshold
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *threshold | pointer to a threshold buffer | 
Definition at line 1239 of file driver_hdc2080.c.
| uint8_t hdc2080_get_humidity_max | ( | hdc2080_handle_t * | handle, | 
| uint8_t * | max ) | 
get humidity max
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *max | pointer to a humidity max buffer | 
Definition at line 1693 of file driver_hdc2080.c.
| uint8_t hdc2080_get_humidity_offset_adjustment | ( | hdc2080_handle_t * | handle, | 
| int8_t * | offset ) | 
get humidity offset adjustment
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *offset | pointer to an offset buffer | 
Definition at line 1461 of file driver_hdc2080.c.
| uint8_t hdc2080_get_humidity_resolution | ( | hdc2080_handle_t * | handle, | 
| hdc2080_resolution_t * | resolution ) | 
get humidity resolution
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *resolution | pointer to a resolution buffer | 
Definition at line 472 of file driver_hdc2080.c.
| uint8_t hdc2080_get_interrupt | ( | hdc2080_handle_t * | handle, | 
| hdc2080_interrupt_t | interrupt, | ||
| hdc2080_bool_t * | enable ) | 
get interrupt status
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | interrupt | chip interrupt | 
| [out] | *enable | pointer to a bool buffer | 
Definition at line 1619 of file driver_hdc2080.c.
| uint8_t hdc2080_get_interrupt_mode | ( | hdc2080_handle_t * | handle, | 
| hdc2080_interrupt_mode_t * | mode ) | 
get interrupt mode
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *mode | pointer to an interrupt mode buffer | 
Definition at line 1091 of file driver_hdc2080.c.
| uint8_t hdc2080_get_interrupt_pin | ( | hdc2080_handle_t * | handle, | 
| hdc2080_bool_t * | enable ) | 
get interrupt pin status
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *enable | pointer to a bool value buffer | 
Definition at line 927 of file driver_hdc2080.c.
| uint8_t hdc2080_get_interrupt_polarity | ( | hdc2080_handle_t * | handle, | 
| hdc2080_interrupt_polarity_t * | polarity ) | 
get interrupt polarity
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *polarity | pointer to a polarity buffer | 
Definition at line 1009 of file driver_hdc2080.c.
| uint8_t hdc2080_get_interrupt_status | ( | hdc2080_handle_t * | handle, | 
| uint8_t * | status ) | 
get interrupt status
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *status | pointer to an interrupt status buffer | 
Definition at line 1804 of file driver_hdc2080.c.
| uint8_t hdc2080_get_measurement | ( | hdc2080_handle_t * | handle, | 
| hdc2080_bool_t * | enable ) | 
get measurement status
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *enable | pointer to a bool value | 
Definition at line 636 of file driver_hdc2080.c.
| uint8_t hdc2080_get_mode | ( | hdc2080_handle_t * | handle, | 
| hdc2080_mode_t * | mode ) | 
get the chip mode
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *mode | pointer to a chip mode buffer | 
Definition at line 554 of file driver_hdc2080.c.
| uint8_t hdc2080_get_temperature_high_threshold | ( | hdc2080_handle_t * | handle, | 
| uint8_t * | threshold ) | 
get temperature high threshold
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *threshold | pointer to a threshold buffer | 
Definition at line 1313 of file driver_hdc2080.c.
| uint8_t hdc2080_get_temperature_low_threshold | ( | hdc2080_handle_t * | handle, | 
| uint8_t * | threshold ) | 
get temperature low threshold
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *threshold | pointer to a threshold buffer | 
Definition at line 1387 of file driver_hdc2080.c.
| uint8_t hdc2080_get_temperature_max | ( | hdc2080_handle_t * | handle, | 
| uint8_t * | max ) | 
get temperature max
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *max | pointer to a temperature max buffer | 
Definition at line 1767 of file driver_hdc2080.c.
| uint8_t hdc2080_get_temperature_offset_adjustment | ( | hdc2080_handle_t * | handle, | 
| int8_t * | offset ) | 
get temperature offset adjustment
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *offset | pointer to an offset buffer | 
Definition at line 1535 of file driver_hdc2080.c.
| uint8_t hdc2080_get_temperature_resolution | ( | hdc2080_handle_t * | handle, | 
| hdc2080_resolution_t * | resolution ) | 
get temperature resolution
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *resolution | pointer to a resolution buffer | 
Definition at line 390 of file driver_hdc2080.c.
| uint8_t hdc2080_humidity_convert_to_data | ( | hdc2080_handle_t * | handle, | 
| uint8_t | reg, | ||
| float * | percent ) | 
convert the register raw data to the humidity
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | reg | register raw data | 
| [out] | *percent | pointer to a percent buffer | 
Definition at line 1868 of file driver_hdc2080.c.
| uint8_t hdc2080_humidity_convert_to_register | ( | hdc2080_handle_t * | handle, | 
| float | percent, | ||
| uint8_t * | reg ) | 
convert the humidity to the register raw data
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | percent | set percent | 
| [out] | *reg | pointer to a register raw buffer | 
Definition at line 1841 of file driver_hdc2080.c.
| uint8_t hdc2080_humidity_offset_convert_to_data | ( | hdc2080_handle_t * | handle, | 
| int8_t | reg, | ||
| float * | percent ) | 
convert the register raw data to the humidity offset
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | reg | register raw data | 
| [out] | *percent | pointer to a percent buffer | 
Definition at line 1976 of file driver_hdc2080.c.
| uint8_t hdc2080_humidity_offset_convert_to_register | ( | hdc2080_handle_t * | handle, | 
| float | percent, | ||
| int8_t * | reg ) | 
convert the humidity offset to the register raw data
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | percent | set percent | 
| [out] | *reg | pointer to a register raw buffer | 
Definition at line 1949 of file driver_hdc2080.c.
| uint8_t hdc2080_info | ( | hdc2080_info_t * | info | ) | 
get chip's information
| [out] | *info | pointer to an hdc2080 info structure | 
Definition at line 2319 of file driver_hdc2080.c.
| uint8_t hdc2080_init | ( | hdc2080_handle_t * | handle | ) | 
initialize the chip
| [in] | *handle | pointer to an hdc2080 handle structure | 
Definition at line 176 of file driver_hdc2080.c.
| uint8_t hdc2080_read_humidity | ( | hdc2080_handle_t * | handle, | 
| uint16_t * | humidity_raw, | ||
| float * | humidity_s ) | 
read the humidity data
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *humidity_raw | pointer to a raw humidity buffer | 
| [out] | *humidity_s | pointer to a converted humidity buffer | 
Definition at line 2148 of file driver_hdc2080.c.
| uint8_t hdc2080_read_poll | ( | hdc2080_handle_t * | handle | ) | 
read poll
| [in] | *handle | pointer to an hdc2080 handle structure | 
Definition at line 2186 of file driver_hdc2080.c.
| uint8_t hdc2080_read_temperature | ( | hdc2080_handle_t * | handle, | 
| uint16_t * | temperature_raw, | ||
| float * | temperature_s ) | 
read the temperature
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *temperature_raw | pointer to a raw temperature buffer | 
| [out] | *temperature_s | pointer to a converted temperature buffer | 
Definition at line 2109 of file driver_hdc2080.c.
| uint8_t hdc2080_read_temperature_humidity | ( | hdc2080_handle_t * | handle, | 
| uint16_t * | temperature_raw, | ||
| float * | temperature_s, | ||
| uint16_t * | humidity_raw, | ||
| float * | humidity_s ) | 
read the temperature and humidity data
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [out] | *temperature_raw | pointer to a raw temperature buffer | 
| [out] | *temperature_s | pointer to a converted temperature buffer | 
| [out] | *humidity_raw | pointer to a raw humidity buffer | 
| [out] | *humidity_s | pointer to a converted humidity buffer | 
Definition at line 2060 of file driver_hdc2080.c.
| uint8_t hdc2080_set_addr_pin | ( | hdc2080_handle_t * | handle, | 
| hdc2080_address_t | addr_pin ) | 
set the iic address pin
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | addr_pin | address pin | 
Definition at line 130 of file driver_hdc2080.c.
| uint8_t hdc2080_set_auto_measurement_mode | ( | hdc2080_handle_t * | handle, | 
| hdc2080_auto_measurement_mode_t | mode ) | 
set auto measurement mode
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | mode | chip mode | 
Definition at line 718 of file driver_hdc2080.c.
| uint8_t hdc2080_set_heater | ( | hdc2080_handle_t * | handle, | 
| hdc2080_bool_t | enable ) | 
enable or disable heater
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | enable | bool value | 
Definition at line 800 of file driver_hdc2080.c.
| uint8_t hdc2080_set_humidity_high_threshold | ( | hdc2080_handle_t * | handle, | 
| uint8_t | threshold ) | 
set humidity high threshold
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | threshold | high threshold | 
Definition at line 1128 of file driver_hdc2080.c.
| uint8_t hdc2080_set_humidity_low_threshold | ( | hdc2080_handle_t * | handle, | 
| uint8_t | threshold ) | 
set humidity low threshold
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | threshold | low threshold | 
Definition at line 1202 of file driver_hdc2080.c.
| uint8_t hdc2080_set_humidity_max | ( | hdc2080_handle_t * | handle, | 
| uint8_t | max ) | 
set humidity max
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | max | humidity max | 
Definition at line 1656 of file driver_hdc2080.c.
| uint8_t hdc2080_set_humidity_offset_adjustment | ( | hdc2080_handle_t * | handle, | 
| int8_t | offset ) | 
set humidity offset adjustment
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | offset | humidity offset | 
Definition at line 1424 of file driver_hdc2080.c.
| uint8_t hdc2080_set_humidity_resolution | ( | hdc2080_handle_t * | handle, | 
| hdc2080_resolution_t | resolution ) | 
set humidity resolution
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | resolution | humidity resolution | 
Definition at line 427 of file driver_hdc2080.c.
| uint8_t hdc2080_set_interrupt | ( | hdc2080_handle_t * | handle, | 
| hdc2080_interrupt_t | interrupt, | ||
| hdc2080_bool_t | enable ) | 
enable or disable interrupt
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | interrupt | chip interrupt | 
| [in] | enable | bool value | 
Definition at line 1573 of file driver_hdc2080.c.
| uint8_t hdc2080_set_interrupt_mode | ( | hdc2080_handle_t * | handle, | 
| hdc2080_interrupt_mode_t | mode ) | 
set interrupt mode
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | mode | interrupt mode | 
Definition at line 1046 of file driver_hdc2080.c.
| uint8_t hdc2080_set_interrupt_pin | ( | hdc2080_handle_t * | handle, | 
| hdc2080_bool_t | enable ) | 
enable or disable interrupt pin
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | enable | bool value | 
Definition at line 882 of file driver_hdc2080.c.
| uint8_t hdc2080_set_interrupt_polarity | ( | hdc2080_handle_t * | handle, | 
| hdc2080_interrupt_polarity_t | polarity ) | 
set interrupt polarity
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | polarity | interrupt polarity | 
Definition at line 964 of file driver_hdc2080.c.
| uint8_t hdc2080_set_measurement | ( | hdc2080_handle_t * | handle, | 
| hdc2080_bool_t | enable ) | 
enable or disable measurement
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | enable | bool value | 
Definition at line 591 of file driver_hdc2080.c.
| uint8_t hdc2080_set_mode | ( | hdc2080_handle_t * | handle, | 
| hdc2080_mode_t | mode ) | 
set the chip mode
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | mode | chip mode | 
Definition at line 509 of file driver_hdc2080.c.
| uint8_t hdc2080_set_temperature_high_threshold | ( | hdc2080_handle_t * | handle, | 
| uint8_t | threshold ) | 
set temperature high threshold
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | threshold | high threshold | 
Definition at line 1276 of file driver_hdc2080.c.
| uint8_t hdc2080_set_temperature_low_threshold | ( | hdc2080_handle_t * | handle, | 
| uint8_t | threshold ) | 
set temperature low threshold
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | threshold | low threshold | 
Definition at line 1350 of file driver_hdc2080.c.
| uint8_t hdc2080_set_temperature_max | ( | hdc2080_handle_t * | handle, | 
| uint8_t | max ) | 
set temperature max
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | max | temperature max | 
Definition at line 1730 of file driver_hdc2080.c.
| uint8_t hdc2080_set_temperature_offset_adjustment | ( | hdc2080_handle_t * | handle, | 
| int8_t | offset ) | 
set temperature offset adjustment
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | offset | temperature offset | 
Definition at line 1498 of file driver_hdc2080.c.
| uint8_t hdc2080_set_temperature_resolution | ( | hdc2080_handle_t * | handle, | 
| hdc2080_resolution_t | resolution ) | 
set temperature resolution
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | resolution | temperature resolution | 
Definition at line 345 of file driver_hdc2080.c.
| uint8_t hdc2080_soft_reset | ( | hdc2080_handle_t * | handle | ) | 
soft reset
| [in] | *handle | pointer to an hdc2080 handle structure | 
Definition at line 672 of file driver_hdc2080.c.
| uint8_t hdc2080_temperature_convert_to_data | ( | hdc2080_handle_t * | handle, | 
| uint8_t | reg, | ||
| float * | deg ) | 
convert the register raw data to the temperature
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | reg | register raw data | 
| [out] | *deg | pointer to a deg buffer | 
Definition at line 1922 of file driver_hdc2080.c.
| uint8_t hdc2080_temperature_convert_to_register | ( | hdc2080_handle_t * | handle, | 
| float | deg, | ||
| uint8_t * | reg ) | 
convert the temperature to the register raw data
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | deg | degress | 
| [out] | *reg | pointer to a register raw buffer | 
Definition at line 1895 of file driver_hdc2080.c.
| uint8_t hdc2080_temperature_offset_convert_to_data | ( | hdc2080_handle_t * | handle, | 
| int8_t | reg, | ||
| float * | deg ) | 
convert the register raw data to the temperature offset
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | reg | register raw data | 
| [out] | *deg | pointer to a deg buffer | 
Definition at line 2030 of file driver_hdc2080.c.
| uint8_t hdc2080_temperature_offset_convert_to_register | ( | hdc2080_handle_t * | handle, | 
| float | deg, | ||
| int8_t * | reg ) | 
convert the temperature offset to the register raw data
| [in] | *handle | pointer to an hdc2080 handle structure | 
| [in] | deg | degress | 
| [out] | *reg | pointer to a register raw buffer | 
Definition at line 2003 of file driver_hdc2080.c.