![]() |
LibDriver HDC302X
|
driver hdc302x basic header file More...
#include "driver_hdc302x_interface.h"Go to the source code of this file.
Macros | |
| #define | HDC302X_BASIC_DEFAULT_LOW_POWER_MODE HDC302X_LOW_POWER_MODE_0 |
| hdc302x basic example default definition | |
| #define | HDC302X_BASIC_DEFAULT_AUTO_MODE HDC302X_AUTO_MODE_10_HZ |
| #define | HDC302X_BASIC_DEFAULT_HEATER 0 |
| #define | HDC302X_BASIC_DEFAULT_HEATER_POWER 0x03FF |
Functions | |
| uint8_t | hdc302x_basic_init (hdc302x_address_t addr) |
| basic example init | |
| uint8_t | hdc302x_basic_deinit (void) |
| basic example deinit | |
| uint8_t | hdc302x_basic_read (float *temperature, float *humidity) |
| basic example read | |
| uint8_t | hdc302x_basic_read_humidity_min (float *humidity) |
| basic example read humidity min | |
| uint8_t | hdc302x_basic_read_humidity_max (float *humidity) |
| basic example read humidity max | |
| uint8_t | hdc302x_basic_read_temperature_min (float *temperature) |
| basic example read temperature min | |
| uint8_t | hdc302x_basic_read_temperature_max (float *temperature) |
| basic example read temperature max | |
| uint8_t | hdc302x_basic_soft_reset (void) |
| basic example soft reset | |
| uint8_t | hdc302x_basic_get_nist_id (uint8_t id[6]) |
| basic example get nist id | |
driver hdc302x basic header file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2025/12/25 | 1.0 | Shifeng Li | first upload |
Definition in file driver_hdc302x_basic.h.