37 #ifndef DRIVER_SPS30_BASIC_H
38 #define DRIVER_SPS30_BASIC_H
56 #define SPS30_BASIC_DEFAULT_FORMAT SPS30_FORMAT_IEEE754
57 #define SPS30_BASIC_DEFAULT_AUTO_CLEANING_INTERVAL 3600 * 24
driver sps30 interface header file
sps30_interface_t
sps30 interface enumeration definition
uint8_t sps30_basic_get_status(uint32_t *status)
basic example get the status
uint8_t sps30_basic_get_serial_number(char sn[17])
basic example get the serial number
uint8_t sps30_basic_wake_up(void)
basic example wake up
uint8_t sps30_basic_sleep(void)
basic example sleep
uint8_t sps30_basic_start_fan_cleaning(void)
basic example start fan cleaning
uint8_t sps30_basic_get_product_type(char type[9])
basic example get the product type
uint8_t sps30_basic_init(sps30_interface_t interface)
basic example init
uint8_t sps30_basic_reset(void)
basic example reset
uint8_t sps30_basic_read(sps30_pm_t *pm)
basic example read
uint8_t sps30_basic_get_version(uint8_t *major, uint8_t *minor)
basic example get the version
uint8_t sps30_basic_deinit(void)
basic example deinit
sps30 pm structure definition