thermo23 2.0.0.0
|
This file contains API for Thermo 23 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | thermo23_t |
Thermo 23 Click context object. More... | |
struct | thermo23_cfg_t |
Thermo 23 Click configuration object. More... | |
Enumerations | |
enum | thermo23_return_value_t { THERMO23_OK = 0 , THERMO23_ERROR = -1 } |
Thermo 23 Click return value data. More... | |
Functions | |
void | thermo23_cfg_setup (thermo23_cfg_t *cfg) |
Thermo 23 configuration object setup function. | |
err_t | thermo23_init (thermo23_t *ctx, thermo23_cfg_t *cfg) |
Thermo 23 initialization function. | |
err_t | thermo23_default_cfg (thermo23_t *ctx) |
Thermo 23 default configuration function. | |
err_t | thermo23_write_command (thermo23_t *ctx, uint8_t cmd, uint16_t data_in) |
Thermo 23 write command function. | |
err_t | thermo23_read_command (thermo23_t *ctx, uint8_t cmd, uint16_t *data_out) |
Thermo 23 read command function. | |
err_t | thermo23_set_config (thermo23_t *ctx, uint16_t config) |
Thermo 23 set config function. | |
err_t | thermo23_read_temperature (thermo23_t *ctx, float *temperature) |
Thermo 23 read temperature function. | |
This file contains API for Thermo 23 Click Driver.