thermo6 2.0.0.0
|
This file contains API for Thermo 6 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 | thermo6_t |
Click ctx object definition. More... | |
struct | thermo6_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | thermo6_cfg_setup (thermo6_cfg_t *cfg) |
Config Object Initialization function. | |
THERMO6_RETVAL | thermo6_init (thermo6_t *ctx, thermo6_cfg_t *cfg) |
Initialization function. | |
void | thermo6_default_cfg (thermo6_t *ctx) |
Click Default Configuration function. | |
void | thermo6_generic_write (thermo6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | thermo6_generic_read (thermo6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
float | thermo6_get_temperature_data (thermo6_t *ctx, uint8_t temp_format) |
Temperature function. | |
void | thermo6_set_other_register (thermo6_t *ctx, uint8_t reg, float tx_data) |
Set other register. | |
float | thermo6_get_other_register (thermo6_t *ctx, uint8_t reg) |
Set other register. | |
uint8_t | thermo6_get_over_temp_status (thermo6_t *ctx) |
Read over-temperature status function. | |
void | thermo6_set_register_cfg (thermo6_t *ctx, uint16_t cfg_data) |
Write configuration function. | |
This file contains API for Thermo 6 Click driver.