thermo30 2.1.0.0
|
This file contains API for Thermo 30 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 | thermo30_t |
Thermo 30 Click context object. More... | |
struct | thermo30_cfg_t |
Thermo 30 Click configuration object. More... | |
Enumerations | |
enum | thermo30_return_value_t { THERMO30_OK = 0 , THERMO30_ERROR = -1 } |
Thermo 30 Click return value data. More... | |
Functions | |
void | thermo30_cfg_setup (thermo30_cfg_t *cfg) |
Thermo 30 configuration object setup function. | |
err_t | thermo30_init (thermo30_t *ctx, thermo30_cfg_t *cfg) |
Thermo 30 initialization function. | |
err_t | thermo30_default_cfg (thermo30_t *ctx) |
Thermo 30 default configuration function. | |
void | thermo30_set_rst_pin (thermo30_t *ctx, uint8_t pin_state) |
Thermo 30 set rst pin function. | |
void | thermo30_hw_reset (thermo30_t *ctx) |
Thermo 30 hw reset device function. | |
uint8_t | thermo30_get_alert_pin (thermo30_t *ctx) |
Thermo 30 get alert pin function. | |
err_t | thermo30_write_command (thermo30_t *ctx, uint16_t cmd) |
Thermo 30 write command function. | |
err_t | thermo30_read_command (thermo30_t *ctx, uint16_t cmd, uint16_t *data_out) |
Thermo 30 read command function. | |
err_t | thermo30_start_measurement (thermo30_t *ctx, uint16_t cmd) |
Thermo 30 start measurement function. | |
err_t | thermo30_stop_measurement (thermo30_t *ctx) |
Thermo 30 stop measurement function. | |
err_t | thermo30_read_status (thermo30_t *ctx, uint16_t *status_val) |
Thermo 30 read status function. | |
err_t | thermo30_read_temperature (thermo30_t *ctx, float *temperature) |
Thermo 30 read temperature function. | |
This file contains API for Thermo 30 Click Driver.