![]() |
LibDriver STTS22H
|
stts22h example driver modules More...
Functions | |
| uint8_t | stts22h_basic_init (stts22h_address_t addr_pin) |
| basic example init | |
| uint8_t | stts22h_basic_deinit (void) |
| basic example deinit | |
| uint8_t | stts22h_basic_read (float *celsius_deg) |
| basic example read | |
| uint8_t | stts22h_interrupt_irq_handler (void) |
| interrupt irq | |
| uint8_t | stts22h_interrupt_init (stts22h_address_t addr_pin, float low_celsius_deg, float high_celsius_deg, void(*callback)(uint8_t type)) |
| interrupt example init | |
| uint8_t | stts22h_interrupt_deinit (void) |
| interrupt example deinit | |
| uint8_t | stts22h_interrupt_read (float *celsius_deg) |
| interrupt example read | |
| uint8_t | stts22h_shot_init (stts22h_address_t addr_pin) |
| shot example init | |
| uint8_t | stts22h_shot_deinit (void) |
| shot example deinit | |
| uint8_t | stts22h_shot_read (float *celsius_deg) |
| shot example read | |
stts22h example driver modules
| #define STTS22H_BASIC_DEFAULT_BLOCK_DATA_UPDATE STTS22H_BOOL_FALSE |
disable block data update
Definition at line 57 of file driver_stts22h_basic.h.
| #define STTS22H_BASIC_DEFAULT_DISABLE_SMBUS_TIMEOUT STTS22H_BOOL_FALSE |
stts22h basic example default definition
disable
Definition at line 56 of file driver_stts22h_basic.h.
| #define STTS22H_BASIC_DEFAULT_IIC_ADDRESS_AUTO_INCREMENT STTS22H_BOOL_TRUE |
enable
Definition at line 58 of file driver_stts22h_basic.h.
| #define STTS22H_BASIC_DEFAULT_OUTPUT_DATA_RATE STTS22H_OUTPUT_DATA_RATE_50HZ |
50hz
Definition at line 59 of file driver_stts22h_basic.h.
| #define STTS22H_INTERRUPT_DEFAULT_BLOCK_DATA_UPDATE STTS22H_BOOL_FALSE |
disable block data update
Definition at line 57 of file driver_stts22h_interrupt.h.
| #define STTS22H_INTERRUPT_DEFAULT_DISABLE_SMBUS_TIMEOUT STTS22H_BOOL_FALSE |
stts22h interrupt example default definition
disable
Definition at line 56 of file driver_stts22h_interrupt.h.
| #define STTS22H_INTERRUPT_DEFAULT_IIC_ADDRESS_AUTO_INCREMENT STTS22H_BOOL_TRUE |
enable
Definition at line 58 of file driver_stts22h_interrupt.h.
| #define STTS22H_INTERRUPT_DEFAULT_OUTPUT_DATA_RATE STTS22H_OUTPUT_DATA_RATE_50HZ |
50hz
Definition at line 59 of file driver_stts22h_interrupt.h.
| #define STTS22H_SHOT_DEFAULT_BLOCK_DATA_UPDATE STTS22H_BOOL_FALSE |
disable block data update
Definition at line 59 of file driver_stts22h_shot.h.
| #define STTS22H_SHOT_DEFAULT_DISABLE_SMBUS_TIMEOUT STTS22H_BOOL_FALSE |
stts22h shot example default definition
stts22h shot example default definition disable
Definition at line 58 of file driver_stts22h_shot.h.
| #define STTS22H_SHOT_DEFAULT_IIC_ADDRESS_AUTO_INCREMENT STTS22H_BOOL_TRUE |
enable
Definition at line 60 of file driver_stts22h_shot.h.
| #define STTS22H_SHOT_DEFAULT_OUTPUT_DATA_RATE STTS22H_OUTPUT_DATA_RATE_50HZ |
50hz
Definition at line 61 of file driver_stts22h_shot.h.
| uint8_t stts22h_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 162 of file driver_stts22h_basic.c.
| uint8_t stts22h_basic_init | ( | stts22h_address_t | addr_pin | ) |
basic example init
| [in] | addr_pin | address pin |
Definition at line 49 of file driver_stts22h_basic.c.
| uint8_t stts22h_basic_read | ( | float * | celsius_deg | ) |
basic example read
| [out] | *celsius_deg | pointer to a celsius degrees buffer |
Definition at line 142 of file driver_stts22h_basic.c.
| uint8_t stts22h_interrupt_deinit | ( | void | ) |
interrupt example deinit
Definition at line 224 of file driver_stts22h_interrupt.c.
| uint8_t stts22h_interrupt_init | ( | stts22h_address_t | addr_pin, |
| float | low_celsius_deg, | ||
| float | high_celsius_deg, | ||
| void(* | callback )(uint8_t type) ) |
interrupt example init
| [in] | addr_pin | address pin |
| [in] | low_celsius_deg | low threshold celsius degrees |
| [in] | high_celsius_deg | high threshold celsius degrees |
| [in] | *callback | pointer to a callback address |
Definition at line 69 of file driver_stts22h_interrupt.c.
| uint8_t stts22h_interrupt_irq_handler | ( | void | ) |
interrupt irq
Definition at line 48 of file driver_stts22h_interrupt.c.
| uint8_t stts22h_interrupt_read | ( | float * | celsius_deg | ) |
interrupt example read
| [out] | *celsius_deg | pointer to a celsius degrees buffer |
Definition at line 204 of file driver_stts22h_interrupt.c.
| uint8_t stts22h_shot_deinit | ( | void | ) |
shot example deinit
Definition at line 152 of file driver_stts22h_shot.c.
| uint8_t stts22h_shot_init | ( | stts22h_address_t | addr_pin | ) |
shot example init
| [in] | addr_pin | address pin |
Definition at line 49 of file driver_stts22h_shot.c.
| uint8_t stts22h_shot_read | ( | float * | celsius_deg | ) |
shot example read
| [out] | *celsius_deg | pointer to a celsius degrees buffer |
Definition at line 132 of file driver_stts22h_shot.c.