thermo22 2.0.0.0
|
This file contains API for Thermo 22 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | thermo22_t |
Thermo 22 Click context object. More... | |
struct | thermo22_cfg_t |
Thermo 22 Click configuration object. More... | |
Enumerations | |
enum | thermo22_return_value_t { THERMO22_OK = 0 , THERMO22_ERROR = -1 } |
Thermo 22 Click return value data. More... | |
Functions | |
void | thermo22_cfg_setup (thermo22_cfg_t *cfg) |
Thermo 22 configuration object setup function. | |
err_t | thermo22_init (thermo22_t *ctx, thermo22_cfg_t *cfg) |
Thermo 22 initialization function. | |
err_t | thermo22_default_cfg (thermo22_t *ctx) |
Thermo 22 default configuration function. | |
err_t | thermo22_write_config (thermo22_t *ctx, uint8_t config) |
Thermo 22 write config function. | |
err_t | thermo22_read_config (thermo22_t *ctx, uint8_t *config) |
Thermo 22 read config function. | |
err_t | thermo22_read_temperature (thermo22_t *ctx, float *temperature) |
Thermo 22 read temperature function. | |
err_t | thermo22_set_temperature_low_limit (thermo22_t *ctx, float low_limit) |
Thermo 22 set temperature low limit function. | |
err_t | thermo22_set_temperature_high_limit (thermo22_t *ctx, float high_limit) |
Thermo 22 set temperature high limit function. | |
uint8_t | thermo22_get_int_pin (thermo22_t *ctx) |
Thermo 22 get int pin function. | |
This file contains API for Thermo 22 Click Driver.