![]() |
LibDriver HDC302X
|
driver hdc302x interrupt header file More...
#include "driver_hdc302x_interface.h"Go to the source code of this file.
Macros | |
| #define | HDC302X_INTERRUPT_DEFAULT_LOW_POWER_MODE HDC302X_LOW_POWER_MODE_0 |
| hdc302x interrupt example default definition | |
| #define | HDC302X_INTERRUPT_DEFAULT_AUTO_MODE HDC302X_AUTO_MODE_10_HZ |
| #define | HDC302X_INTERRUPT_DEFAULT_HEATER 0 |
| #define | HDC302X_INTERRUPT_DEFAULT_HEATER_POWER 0x03FF |
Functions | |
| uint8_t | hdc302x_interrupt_irq_handler (void) |
| interrupt test irq | |
| uint8_t | hdc302x_interrupt_init (hdc302x_address_t addr, float temperature_low_deg, float temperature_high_deg, float humidity_low_percentage, float humidity_high_percentage, void(*callback)(uint16_t type)) |
| interrupt example init | |
| uint8_t | hdc302x_interrupt_deinit (void) |
| interrupt example deinit | |
| uint8_t | hdc302x_interrupt_read (float *temperature, float *humidity) |
| interrupt example read | |
| uint8_t | hdc302x_interrupt_read_humidity_min (float *humidity) |
| interrupt example read humidity min | |
| uint8_t | hdc302x_interrupt_read_humidity_max (float *humidity) |
| interrupt example read humidity max | |
| uint8_t | hdc302x_interrupt_read_temperature_min (float *temperature) |
| interrupt example read temperature min | |
| uint8_t | hdc302x_interrupt_read_temperature_max (float *temperature) |
| interrupt example read temperature max | |
| uint8_t | hdc302x_interrupt_soft_reset (void) |
| interrupt example soft reset | |
| uint8_t | hdc302x_interrupt_get_nist_id (uint8_t id[6]) |
| interrupt example get nist id | |
| uint8_t | hdc302x_interrupt_clear_status (void) |
| interrupt example clear status | |
driver hdc302x interrupt 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_interrupt.h.