thermo17 2.0.0.0
|
This file contains API for Thermo 17 Click driver. More...
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | thermo17_t |
Click ctx object definition. More... | |
struct | thermo17_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | thermo17_cfg_setup (thermo17_cfg_t *cfg) |
Config Object Initialization function. | |
THERMO17_RETVAL | thermo17_init (thermo17_t *ctx, thermo17_cfg_t *cfg) |
Initialization function. | |
void | thermo17_generic_write (thermo17_t *ctx, uint8_t reg_adr, uint8_t write_data) |
Generic write function. | |
uint8_t | thermo17_generic_read (thermo17_t *ctx, uint8_t reg_adr) |
Generic read function. | |
float | thermo17_read_temp (thermo17_t *ctx, uint8_t temp_macro) |
Function for reading temperature. | |
uint8_t | thermo17_get_int_status (thermo17_t *ctx) |
Checks status of int pin. | |
uint8_t | thermo17_get_an_status (thermo17_t *ctx) |
Checks status of an pin. | |
This file contains API for Thermo 17 Click driver.