![]() |
LibDriver STS3X
|
sts3x example driver modules More...
Macros | |
| #define | STS3X_BASIC_DEFAULT_RATE STS3X_RATE_10HZ |
| sts3x basic example default definition | |
| #define | STS3X_BASIC_DEFAULT_REPEATABILITY STS3X_REPEATABILITY_HIGH |
| #define | STS3X_BASIC_DEFAULT_HEATER STS3X_BOOL_FALSE |
| #define | STS3X_SHOT_DEFAULT_CLOCK_STRETCHING STS3X_BOOL_TRUE |
| sts3x shot example default definition | |
| #define | STS3X_SHOT_DEFAULT_REPEATABILITY STS3X_REPEATABILITY_HIGH |
| #define | STS3X_SHOT_DEFAULT_HEATER STS3X_BOOL_FALSE |
Functions | |
| uint8_t | sts3x_basic_init (sts3x_address_t addr_pin) |
| basic example init | |
| uint8_t | sts3x_basic_read (float *temperature) |
| basic example read | |
| uint8_t | sts3x_basic_deinit (void) |
| basic example deinit | |
| uint8_t | sts3x_shot_init (sts3x_address_t addr_pin) |
| shot example init | |
| uint8_t | sts3x_shot_read (float *temperature) |
| shot example read | |
| uint8_t | sts3x_shot_deinit (void) |
| shot example deinit | |
sts3x example driver modules
| #define STS3X_BASIC_DEFAULT_HEATER STS3X_BOOL_FALSE |
disable heater
Definition at line 58 of file driver_sts3x_basic.h.
| #define STS3X_BASIC_DEFAULT_RATE STS3X_RATE_10HZ |
sts3x basic example default definition
rate 100Hz
Definition at line 56 of file driver_sts3x_basic.h.
| #define STS3X_BASIC_DEFAULT_REPEATABILITY STS3X_REPEATABILITY_HIGH |
set high
Definition at line 57 of file driver_sts3x_basic.h.
| #define STS3X_SHOT_DEFAULT_CLOCK_STRETCHING STS3X_BOOL_TRUE |
sts3x shot example default definition
enable clock stretching
Definition at line 54 of file driver_sts3x_shot.h.
| #define STS3X_SHOT_DEFAULT_HEATER STS3X_BOOL_FALSE |
disable heater
Definition at line 56 of file driver_sts3x_shot.h.
| #define STS3X_SHOT_DEFAULT_REPEATABILITY STS3X_REPEATABILITY_HIGH |
set high
Definition at line 55 of file driver_sts3x_shot.h.
| uint8_t sts3x_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 147 of file driver_sts3x_basic.c.
| uint8_t sts3x_basic_init | ( | sts3x_address_t | addr_pin | ) |
basic example init
| [in] | addr_pin | iic device address |
Definition at line 49 of file driver_sts3x_basic.c.
| uint8_t sts3x_basic_read | ( | float * | temperature | ) |
basic example read
| [out] | *temperature | pointer to a converted temperature buffer |
Definition at line 127 of file driver_sts3x_basic.c.
| uint8_t sts3x_shot_deinit | ( | void | ) |
shot example deinit
Definition at line 134 of file driver_sts3x_shot.c.
| uint8_t sts3x_shot_init | ( | sts3x_address_t | addr_pin | ) |
shot example init
| [in] | addr_pin | iic device address |
Definition at line 49 of file driver_sts3x_shot.c.
| uint8_t sts3x_shot_read | ( | float * | temperature | ) |
shot example read
| [out] | *temperature | pointer to a converted temperature buffer |
Definition at line 114 of file driver_sts3x_shot.c.