37#ifndef DRIVER_SEN5X_BASIC_H
38#define DRIVER_SEN5X_BASIC_H
56#define SEN5X_BASIC_DEFAULT_AUTO_CLEANING_INTERVAL 3600 * 24
driver sen5x interface header file
struct sen50_data_s sen50_data_t
sen50 data structure definition
sen5x_type_t
sen5x type enumeration definition
struct sen55_data_s sen55_data_t
sen55 data structure definition
struct sen5x_raw_s sen5x_raw_t
sen5x raw structure definition
struct sen54_data_s sen54_data_t
sen54 data structure definition
struct sen5x_pm_s sen5x_pm_t
sen5x pm structure definition
uint8_t sen5x_basic_reset(void)
basic example reset
uint8_t sen50_basic_read(sen50_data_t *output)
basic example read
uint8_t sen5x_basic_get_status(uint32_t *status)
basic example get the status
uint8_t sen55_basic_read_pm_value(sen5x_pm_t *pm)
basic example read pm value
uint8_t sen5x_basic_get_serial_number(char sn[32])
basic example get the serial number
uint8_t sen54_basic_read(sen54_data_t *output)
basic example read
uint8_t sen5x_basic_get_version(uint8_t *version)
basic example get the version
uint8_t sen5x_basic_start_fan_cleaning(void)
basic example start fan cleaning
uint8_t sen5x_basic_init(sen5x_type_t type)
basic example init
uint8_t sen55_basic_read_raw_value(sen5x_raw_t *raw)
basic example read raw value
uint8_t sen5x_basic_deinit(void)
basic example deinit
uint8_t sen5x_basic_get_product_name(char name[32])
basic example get the product name
uint8_t sen55_basic_read(sen55_data_t *output)
basic example read