thermo26 2.1.0.0
|
This file contains API for Thermo 26 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 | thermo26_t |
Thermo 26 Click context object. More... | |
struct | thermo26_cfg_t |
Thermo 26 Click configuration object. More... | |
Enumerations | |
enum | thermo26_return_value_t { THERMO26_OK = 0 , THERMO26_ERROR = -1 } |
Thermo 26 Click return value data. More... | |
Functions | |
void | thermo26_cfg_setup (thermo26_cfg_t *cfg) |
Thermo 26 configuration object setup function. | |
err_t | thermo26_init (thermo26_t *ctx, thermo26_cfg_t *cfg) |
Thermo 26 initialization function. | |
err_t | thermo26_write_command (thermo26_t *ctx, uint16_t cmd) |
Thermo 26 write command function. | |
err_t | thermo26_read_command (thermo26_t *ctx, uint16_t cmd, uint16_t *data_out) |
Thermo 26 read command function. | |
void | thermo26_reset_device (thermo26_t *ctx) |
Thermo 26 reset device function. | |
void | thermo26_set_rst_pin (thermo26_t *ctx, uint8_t state) |
Thermo 26 set rst pin function. | |
uint8_t | thermo26_get_alert_pin (thermo26_t *ctx) |
Thermo 26 get alert pin function. | |
err_t | thermo26_read_temperature (thermo26_t *ctx, float *temperature) |
Thermo 26 read temperature function. | |
err_t | thermo26_read_serial_num (thermo26_t *ctx, uint32_t *serial_num) |
Thermo 26 read serial num function. | |
err_t | thermo26_start_measurement (thermo26_t *ctx, uint16_t cmd) |
Thermo 26 start measurement function. | |
err_t | thermo26_stop_measurement (thermo26_t *ctx) |
Thermo 26 stop measurement function. | |
This file contains API for Thermo 26 Click Driver.