thermo13
2.0.0.0
|
This file contains API for Thermo 13 Click driver. More...
#include "mikrosdk_version.h"
#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 | thermo13_s |
Click ctx object definition. More... | |
struct | thermo13_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef struct thermo13_s | thermo13_t |
Click ctx object definition. More... | |
Functions | |
void | thermo13_cfg_setup (thermo13_cfg_t *cfg) |
Config Object Initialization function. More... | |
THERMO13_RETVAL | thermo13_init (thermo13_t *ctx, thermo13_cfg_t *cfg) |
Initialization function. More... | |
void | thermo13_default_cfg (thermo13_t *ctx) |
Click Default Configuration function. More... | |
void | thermo13_generic_write (thermo13_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. More... | |
void | thermo13_generic_read (thermo13_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. More... | |
uint16_t | thermo13_read_data (thermo13_t *ctx, uint8_t reg_addr) |
Functions for read data from registers. More... | |
void | thermo13_configuration (thermo13_t *ctx, uint16_t cfg_data) |
Configuration register. More... | |
float | thermo13_get_ambient_temperature_data (thermo13_t *ctx, uint8_t temp_in) |
Ambient temperature data. More... | |
void | thermo13_set_temp_limit (thermo13_t *ctx, uint8_t temp_reg, float temp) |
Set temperature limit register. More... | |
float | thermo13_get_temp_limit (thermo13_t *ctx, uint8_t temp_reg) |
Get temperature register. More... | |
uint8_t | thermo13_get_interrupt_state (thermo13_t *ctx) |
Interrupt state. More... | |
void | thermo13_software_reset (thermo13_t *ctx) |
Software reset. More... | |
This file contains API for Thermo 13 Click driver.