thermo11 2.0.0.0
|
This file contains API for Thermo 11 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 | thermo11_t |
Click ctx object definition. More... | |
struct | thermo11_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | thermo11_cfg_setup (thermo11_cfg_t *cfg) |
Config Object Initialization function. | |
THERMO11_RETVAL | thermo11_init (thermo11_t *ctx, thermo11_cfg_t *cfg) |
Initialization function. | |
void | thermo11_default_cfg (thermo11_t *ctx) |
Click Default Configuration function. | |
void | thermo11_generic_write (thermo11_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | thermo11_generic_read (thermo11_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
THERMO11_RETVAL | thermo11_write_reg (thermo11_t *ctx, uint8_t reg_addr, uint16_t data_in) |
Repeated Write function. | |
THERMO11_RETVAL | thermo11_read_reg (thermo11_t *ctx, uint8_t reg_addr, uint16_t *data_out) |
Repeated Read function. | |
float | thermo11_get_temp (thermo11_t *ctx, uint8_t temp_addr) |
Temperature Get function. | |
THERMO11_RETVAL | thermo11_get_int (thermo11_t *ctx) |
INT Pin Check function. | |
uint8_t | thermo11_sm_bus_alert_cmd (thermo11_t *ctx) |
SMBus Alert Command. | |
void | thermo11_general_call_reset_cmd (thermo11_t *ctx) |
General Call Reset Command. | |
void | thermo11_sw_reset (thermo11_t *ctx) |
Software Reset Command. | |
THERMO11_RETVAL | thermo11_check_status (thermo11_t *ctx) |
Status Check function. | |
THERMO11_RETVAL | thermo11_program_eeprom (thermo11_t *ctx, uint8_t eeprom_addr, uint16_t eeprom_data) |
EEPROM Program function. | |
THERMO11_RETVAL | thermo11_set_temp (thermo11_t *ctx, uint8_t temp_addr, float temp_value) |
Temperature Set function. | |
This file contains API for Thermo 11 Click driver.