thermo15 2.0.0.0
|
This file contains API for Thermo 15 Click driver. More...
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | thermo15_t |
Click ctx object definition. More... | |
struct | thermo15_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | thermo15_cfg_setup (thermo15_cfg_t *cfg) |
Config Object Initialization function. | |
THERMO15_RETVAL | thermo15_init (thermo15_t *ctx, thermo15_cfg_t *cfg) |
Initialization function. | |
void | thermo15_default_cfg (thermo15_t *ctx) |
Click Default Configuration function. | |
void | thermo15_generic_write (thermo15_t *ctx, uint8_t reg, uint8_t *data_buffer, uint8_t len) |
Generic write function. | |
void | thermo15_generic_read (thermo15_t *ctx, uint8_t reg, uint8_t *data_buffer, uint8_t len) |
Generic read function. | |
float | thermo15_get_temperature_data (thermo15_t *ctx, uint8_t temp_format) |
Ambient temperature data. | |
void | thermo15_set_temp_register (thermo15_t *ctx, uint8_t temp_reg, float temp_data) |
Set temperature register. | |
float | thermo15_get_temp_register (thermo15_t *ctx, uint8_t temp_reg) |
Get temperature register. | |
uint8_t | thermo15_get_interrupt_state (thermo15_t *ctx) |
Interrupt state. | |
This file contains API for Thermo 15 Click driver.