![]() |
LibDriver SEN5X
|
sen5x example driver modules More...
Macros | |
| #define | SEN5X_BASIC_DEFAULT_AUTO_CLEANING_INTERVAL 3600 * 24 |
| sen5x basic example default definition | |
Functions | |
| uint8_t | sen5x_basic_init (sen5x_type_t type) |
| basic example init | |
| uint8_t | sen5x_basic_deinit (void) |
| basic example deinit | |
| uint8_t | sen55_basic_read (sen55_data_t *output) |
| basic example read | |
| uint8_t | sen54_basic_read (sen54_data_t *output) |
| basic example read | |
| uint8_t | sen50_basic_read (sen50_data_t *output) |
| basic example read | |
| uint8_t | sen55_basic_read_pm_value (sen5x_pm_t *pm) |
| basic example read pm value | |
| uint8_t | sen55_basic_read_raw_value (sen5x_raw_t *raw) |
| basic example read raw value | |
| uint8_t | sen5x_basic_start_fan_cleaning (void) |
| basic example start fan cleaning | |
| uint8_t | sen5x_basic_reset (void) |
| basic example reset | |
| uint8_t | sen5x_basic_get_product_name (char name[32]) |
| basic example get the product name | |
| uint8_t | sen5x_basic_get_serial_number (char sn[32]) |
| basic example get the serial number | |
| uint8_t | sen5x_basic_get_version (uint8_t *version) |
| basic example get the version | |
| uint8_t | sen5x_basic_get_status (uint32_t *status) |
| basic example get the status | |
sen5x example driver modules
| #define SEN5X_BASIC_DEFAULT_AUTO_CLEANING_INTERVAL 3600 * 24 |
| uint8_t sen50_basic_read | ( | sen50_data_t * | output | ) |
basic example read
| [out] | *output | pointer to a sen50_data_t structure |
Definition at line 227 of file driver_sen5x_basic.c.
| uint8_t sen54_basic_read | ( | sen54_data_t * | output | ) |
basic example read
| [out] | *output | pointer to a sen54_data_t structure |
Definition at line 205 of file driver_sen5x_basic.c.
| uint8_t sen55_basic_read | ( | sen55_data_t * | output | ) |
basic example read
| [out] | *output | pointer to a sen55_data_t structure |
Definition at line 183 of file driver_sen5x_basic.c.
| uint8_t sen55_basic_read_pm_value | ( | sen5x_pm_t * | pm | ) |
basic example read pm value
| [out] | *pm | pointer to a sen5x_pm_t structure |
Definition at line 161 of file driver_sen5x_basic.c.
| uint8_t sen55_basic_read_raw_value | ( | sen5x_raw_t * | raw | ) |
basic example read raw value
| [out] | *raw | pointer to a sen5x_raw_t structure |
Definition at line 139 of file driver_sen5x_basic.c.
| uint8_t sen5x_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 110 of file driver_sen5x_basic.c.
| uint8_t sen5x_basic_get_product_name | ( | char | name[32] | ) |
basic example get the product name
| [out] | *name | pointer to a name buffer |
Definition at line 283 of file driver_sen5x_basic.c.
| uint8_t sen5x_basic_get_serial_number | ( | char | sn[32] | ) |
basic example get the serial number
| [out] | *sn | pointer to a sn buffer |
Definition at line 301 of file driver_sen5x_basic.c.
| uint8_t sen5x_basic_get_status | ( | uint32_t * | status | ) |
basic example get the status
| [out] | *status | pointer to a status buffer |
Definition at line 337 of file driver_sen5x_basic.c.
| uint8_t sen5x_basic_get_version | ( | uint8_t * | version | ) |
basic example get the version
| [out] | *version | pointer to a version buffer |
Definition at line 319 of file driver_sen5x_basic.c.
| uint8_t sen5x_basic_init | ( | sen5x_type_t | type | ) |
basic example init
| [in] | type | chip type |
Definition at line 49 of file driver_sen5x_basic.c.
| uint8_t sen5x_basic_reset | ( | void | ) |
basic example reset
Definition at line 265 of file driver_sen5x_basic.c.
| uint8_t sen5x_basic_start_fan_cleaning | ( | void | ) |
basic example start fan cleaning
Definition at line 248 of file driver_sen5x_basic.c.