LibDriver SHT30
Loading...
Searching...
No Matches
driver_sht30_alert.h File Reference

driver sht30 alert header file More...

Include dependency graph for driver_sht30_alert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SHT30_ALERT_DEFAULT_RATE   SHT30_RATE_10HZ
 sht30 alert example default definition
#define SHT30_ALERT_DEFAULT_REPEATABILITY   SHT30_REPEATABILITY_HIGH
#define SHT30_ALERT_DEFAULT_HEATER   SHT30_BOOL_FALSE

Functions

uint8_t sht30_alert_irq_handler (void)
 alert irq
uint8_t sht30_alert_init (sht30_address_t addr_pin, void(*callback)(uint16_t type), float high_limit_temperature_set, float high_limit_humidity_set, float high_limit_temperature_clear, float high_limit_humidity_clear, float low_limit_temperature_set, float low_limit_humidity_set, float low_limit_temperature_clear, float low_limit_humidity_clear)
 alert example init
uint8_t sht30_alert_read (float *temperature, float *humidity)
 alert example read
uint8_t sht30_alert_deinit (void)
 alert example deinit
uint8_t sht30_alert_get_serial_number (uint8_t sn[4])
 alert example get serial number

Detailed Description

driver sht30 alert 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.

Version
2.0.0
Author
Shifeng Li
Date
2021-03-05

history

Date Version Author Description
2021/03/05 2.0 Shifeng Li format the code
2020/11/03 1.0 Shifeng Li first upload

Definition in file driver_sht30_alert.h.