irthermo3 2.0.0.0
|
This file contains API for IrThermo 3 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 | irthermo3_cal_coef_t |
Calculation coefficients. More... | |
struct | irthermo3_t |
Click ctx object definition. More... | |
struct | irthermo3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | irthermo3_cfg_setup (irthermo3_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | irthermo3_init (irthermo3_t *ctx, irthermo3_cfg_t *cfg) |
Initialization function. | |
void | irthermo3_generic_write (irthermo3_t *ctx, uint16_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | irthermo3_generic_read (irthermo3_t *ctx, uint16_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | irthermo3_write_u16 (irthermo3_t *ctx, uint16_t reg, uint16_t wr_data) |
Write u16 data function. | |
int16_t | irthermo3_read_i16 (irthermo3_t *ctx, uint16_t reg) |
Read i16 dat function. | |
int32_t | irthermo3_read_i32 (irthermo3_t *ctx, uint16_t reg) |
Read i32 dat function. | |
void | irthermo3_set_mode (irthermo3_t *ctx, uint8_t mode) |
Set device mode function. | |
void | irthermo3_cal (irthermo3_t *ctx) |
Calibration function. | |
float | irthermo3_get_ambient_temp (irthermo3_t *ctx) |
Read Ambient Temperature function. | |
float | irthermo3_get_object_temp (irthermo3_t *ctx) |
Read Object Temperature function. | |
This file contains API for IrThermo 3 Click driver.