![]() |
LibDriver SPS30
|
sps30 example driver modules More...
Macros | |
| #define | SPS30_BASIC_DEFAULT_FORMAT SPS30_FORMAT_IEEE754 |
| sps30 basic example default definition | |
| #define | SPS30_BASIC_DEFAULT_AUTO_CLEANING_INTERVAL 3600 * 24 |
Functions | |
| uint8_t | sps30_basic_init (sps30_interface_t interface) |
| basic example init | |
| uint8_t | sps30_basic_deinit (void) |
| basic example deinit | |
| uint8_t | sps30_basic_read (sps30_pm_t *pm) |
| basic example read | |
| uint8_t | sps30_basic_start_fan_cleaning (void) |
| basic example start fan cleaning | |
| uint8_t | sps30_basic_sleep (void) |
| basic example sleep | |
| uint8_t | sps30_basic_wake_up (void) |
| basic example wake up | |
| uint8_t | sps30_basic_reset (void) |
| basic example reset | |
| uint8_t | sps30_basic_get_product_type (char type[9]) |
| basic example get the product type | |
| uint8_t | sps30_basic_get_serial_number (char sn[17]) |
| basic example get the serial number | |
| uint8_t | sps30_basic_get_version (uint8_t *major, uint8_t *minor) |
| basic example get the version | |
| uint8_t | sps30_basic_get_status (uint32_t *status) |
| basic example get the status | |
sps30 example driver modules
| #define SPS30_BASIC_DEFAULT_AUTO_CLEANING_INTERVAL 3600 * 24 |
1 day
Definition at line 57 of file driver_sps30_basic.h.
| #define SPS30_BASIC_DEFAULT_FORMAT SPS30_FORMAT_IEEE754 |
| uint8_t sps30_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 115 of file driver_sps30_basic.c.
| uint8_t sps30_basic_get_product_type | ( | char | type[9] | ) |
basic example get the product type
| [out] | *type | pointer to a type buffer |
Definition at line 244 of file driver_sps30_basic.c.
| uint8_t sps30_basic_get_serial_number | ( | char | sn[17] | ) |
basic example get the serial number
| [out] | *sn | pointer to a sn buffer |
Definition at line 264 of file driver_sps30_basic.c.
| uint8_t sps30_basic_get_status | ( | uint32_t * | status | ) |
basic example get the status
| [out] | *status | pointer to a status buffer |
Definition at line 305 of file driver_sps30_basic.c.
| uint8_t sps30_basic_get_version | ( | uint8_t * | major, |
| uint8_t * | minor ) |
basic example get the version
| [out] | *major | pointer to a major buffer |
| [out] | *minor | pointer to a minor buffer |
Definition at line 285 of file driver_sps30_basic.c.
| uint8_t sps30_basic_init | ( | sps30_interface_t | interface | ) |
basic example init
| [in] | interface | chip interface |
Definition at line 49 of file driver_sps30_basic.c.
| uint8_t sps30_basic_read | ( | sps30_pm_t * | pm | ) |
basic example read
| [out] | *pm | pointer to a sps30_pm_t structure |
Definition at line 144 of file driver_sps30_basic.c.
| uint8_t sps30_basic_reset | ( | void | ) |
basic example reset
Definition at line 186 of file driver_sps30_basic.c.
| uint8_t sps30_basic_sleep | ( | void | ) |
basic example sleep
Definition at line 205 of file driver_sps30_basic.c.
| uint8_t sps30_basic_start_fan_cleaning | ( | void | ) |
basic example start fan cleaning
Definition at line 167 of file driver_sps30_basic.c.
| uint8_t sps30_basic_wake_up | ( | void | ) |
basic example wake up
Definition at line 224 of file driver_sps30_basic.c.