![]() |
SparkFun Air Quality PM1/PM2.5/PM10 Sensor - BMV080
v1.0.0-15-g8f97a54
Library for the SparkFun Air Quality PM1/PM2.5/PM10 Sensor - BMV080r
|
Implementation file for the SparkFun BMV080 Library. More...
Macros | |
#define | E_COMBRIDGE_OK ((int8_t)0) |
#define | E_COMBRIDGE_ERROR_MEMORY_ALLOCATION ((int8_t)-1) |
#define | E_COMBRIDGE_ERROR_READ ((int8_t)-2) |
#define | E_COMBRIDGE_ERROR_WRITE ((int8_t)-3) |
#define | E_COMBRIDGE_ERROR_WRITE_HEADER ((int8_t)-4) |
#define | E_COMBRIDGE_ERROR_NULLPTR ((int8_t)-5) |
Implementation file for the SparkFun BMV080 Library.
This file contains the implementation of the sfDevBMV080 class, which provides an interface to the BMV080 sensor. It includes methods for initializing the sensor, reading sensor data, and configuring sensor settings.
SPDX-License-Identifier: MIT
#define E_COMBRIDGE_ERROR_MEMORY_ALLOCATION ((int8_t)-1) |
-1: Status codes returned when memory allocation fails
#define E_COMBRIDGE_ERROR_NULLPTR ((int8_t)-5) |
-5: Status codes returned when a reference is null
#define E_COMBRIDGE_ERROR_READ ((int8_t)-2) |
-2: Status codes returned when the read operation fails
#define E_COMBRIDGE_ERROR_WRITE ((int8_t)-3) |
-3: Status codes returned when the write operation fails
#define E_COMBRIDGE_ERROR_WRITE_HEADER ((int8_t)-4) |
-4: Status codes returned when writing the header fails
#define E_COMBRIDGE_OK ((int8_t)0) |