LibDriver CCS811
Loading...
Searching...
No Matches
driver_ccs811_basic.c File Reference

driver ccs811 basic source file More...

Include dependency graph for driver_ccs811_basic.c:

Go to the source code of this file.

Functions

uint8_t ccs811_basic_init (ccs811_address_t addr_pin)
 basic example init
uint8_t ccs811_basic_deinit (void)
 basic example deinit
uint8_t ccs811_basic_read (uint16_t *eco2_ppm, uint16_t *tvoc_ppb)
 basic example read
uint8_t ccs811_basic_get_status (uint8_t *status)
 basic example get status
uint8_t ccs811_basic_get_raw_data (uint8_t *ua, float *adc_v)
 basic example get raw data
uint8_t ccs811_basic_set_environment_data (float humidity, float temperature)
 basic example set environment data
uint8_t ccs811_basic_set_baseline (uint16_t baseline)
 basic example set baseline
uint8_t ccs811_basic_get_hardware_id (uint8_t *id)
 basic example get hardware id
uint8_t ccs811_basic_get_hardware_version (uint8_t *version)
 basic example get hardware version
uint8_t ccs811_basic_get_firmware_bootloader_version (uint8_t *major, uint8_t *minor, uint8_t *trivial)
 basic example get firmware bootloader version
uint8_t ccs811_basic_get_firmware_application_version (uint8_t *major, uint8_t *minor, uint8_t *trivial)
 basic example get firmware application version
uint8_t ccs811_basic_soft_reset (void)
 basic example soft reset
uint8_t ccs811_basic_hard_reset (void)
 basic example hard reset
uint8_t ccs811_basic_wake_up (void)
 basic example wake up
uint8_t ccs811_basic_power_down (void)
 basic example power down

Detailed Description

driver ccs811 basic source 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_basic.c.