LibDriver CCS811
Loading...
Searching...
No Matches
driver_ccs811_interrupt.h File Reference

driver ccs811 interrupt header file More...

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

Go to the source code of this file.

Macros

#define CCS811_INTERRUPT_DEFAULT_MODE   CCS811_MODE_CONSTANT_POWER
 ccs811 interrupt example default definition

Functions

uint8_t ccs811_interrupt_init (ccs811_address_t addr_pin, uint16_t low_medium_ppm, uint16_t medium_high_ppm, uint8_t hysteresis)
 interrupt example init
uint8_t ccs811_interrupt_deinit (void)
 interrupt example deinit
uint8_t ccs811_interrupt_read (uint16_t *eco2_ppm, uint16_t *tvoc_ppb)
 interrupt example read
uint8_t ccs811_interrupt_get_hardware_id (uint8_t *id)
 interrupt example get hardware id
uint8_t ccs811_interrupt_get_hardware_version (uint8_t *version)
 interrupt example get hardware version
uint8_t ccs811_interrupt_get_firmware_bootloader_version (uint8_t *major, uint8_t *minor, uint8_t *trivial)
 interrupt example get firmware bootloader version
uint8_t ccs811_interrupt_get_firmware_application_version (uint8_t *major, uint8_t *minor, uint8_t *trivial)
 interrupt example get firmware application version
uint8_t ccs811_interrupt_soft_reset (void)
 interrupt example soft reset
uint8_t ccs811_interrupt_hard_reset (void)
 interrupt example hard reset
uint8_t ccs811_interrupt_wake_up (void)
 interrupt example wake up
uint8_t ccs811_interrupt_power_down (void)
 interrupt example power down
uint8_t ccs811_interrupt_get_status (uint8_t *status)
 interrupt example get status
uint8_t ccs811_interrupt_get_raw_data (uint8_t *ua, float *adc_v)
 interrupt example get raw data
uint8_t ccs811_interrupt_set_environment_data (float humidity, float temperature)
 interrupt example set environment data
uint8_t ccs811_interrupt_set_baseline (uint16_t baseline)
 interrupt example set baseline

Detailed Description

driver ccs811 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.

Version
1.0.0
Author
Shifeng Li
Date
2025-06-30

history

Date Version Author Description
2025/06/30 1.0 Shifeng Li first upload

Definition in file driver_ccs811_interrupt.h.