thermo7 2.0.0.0
|
This file contains API for Thermo 7 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 | thermo7_t |
Click ctx object definition. More... | |
struct | thermo7_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | thermo7_cfg_setup (thermo7_cfg_t *cfg) |
Config Object Initialization function. | |
THERMO7_RETVAL | thermo7_init (thermo7_t *ctx, thermo7_cfg_t *cfg) |
Initialization function. | |
void | thermo7_generic_write (thermo7_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | thermo7_generic_read (thermo7_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
float | thermo7_read_ambient_temperature (thermo7_t *ctx) |
Functions for reads ambient temperature. | |
void | thermo7_set_configuration (thermo7_t *ctx, uint8_t configuration) |
Functions for configuration chip and measurement. | |
int16_t | thermo7_get_hysteresis_temperature (thermo7_t *ctx) |
Functions for reads Hysteresis Temperature. | |
void | thermo7_set_hysteresis_temperature (thermo7_t *ctx, int8_t temperature) |
Functions for settings Hysteresis Temperature. | |
int16_t | thermo7_get_limit_temperature (thermo7_t *ctx) |
Functions for get Limit Temperature. | |
void | thermo7_set_limit_temperature (thermo7_t *ctx, int16_t temperature) |
Functions for settings limit Temperature. | |
uint8_t | thermo7_get_interrupt (thermo7_t *ctx) |
Functions for reads state of interrupt pins. | |
void | thermo7_set_resolution (thermo7_t *ctx, uint8_t resolution) |
Functions for settings ADC resolution measurement. | |
This file contains API for Thermo 7 Click driver.