![]() |
LibDriver SCD30
|
scd30 example driver modules More...
Macros | |
| #define | SCD30_BASIC_DEFAULT_MEASUREMENT_INTERVAL 2 |
| scd30 basic example default definition | |
| #define | SCD30_BASIC_DEFAULT_AUTO_SELF_CALIBRATION SCD30_BOOL_TRUE |
Functions | |
| uint8_t | scd30_basic_init (scd30_interface_t interface, uint16_t mbar) |
| basic example init | |
| uint8_t | scd30_basic_deinit (void) |
| basic example deinit | |
| uint8_t | scd30_basic_read (scd30_data_t *data) |
| basic example read | |
| uint8_t | scd30_basic_reset (void) |
| basic example reset | |
| uint8_t | scd30_basic_get_version (uint8_t *major, uint8_t *minor) |
| basic example get the version | |
scd30 example driver modules
| #define SCD30_BASIC_DEFAULT_AUTO_SELF_CALIBRATION SCD30_BOOL_TRUE |
enable automatic self calibration
Definition at line 57 of file driver_scd30_basic.h.
| #define SCD30_BASIC_DEFAULT_MEASUREMENT_INTERVAL 2 |
| uint8_t scd30_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 170 of file driver_scd30_basic.c.
| uint8_t scd30_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 239 of file driver_scd30_basic.c.
| uint8_t scd30_basic_init | ( | scd30_interface_t | interface, |
| uint16_t | mbar ) |
basic example init
| [in] | interface | chip interface |
| [in] | mbar | pressure compensation |
Definition at line 50 of file driver_scd30_basic.c.
| uint8_t scd30_basic_read | ( | scd30_data_t * | data | ) |
basic example read
| [out] | *data | pointer to a scd30_data_t structure |
Definition at line 199 of file driver_scd30_basic.c.
| uint8_t scd30_basic_reset | ( | void | ) |
basic example reset
Definition at line 220 of file driver_scd30_basic.c.