irthermo3v3 2.0.0.0
|
This file contains API for IrThermo 3V3 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 | irthermo3v3_t |
IrThermo 3V3 Click context object. More... | |
struct | irthermo3v3_cfg_t |
IrThermo 3V3 Click configuration object. More... | |
Macros | |
#define | IRTHERMO3V3_SET_DEV_ADDR 0x5A |
IrThermo 3V3 device address setting. | |
#define | IRTHERMO3V3_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | irthermo3v3_return_value_t { IRTHERMO3V3_OK = 0 , IRTHERMO3V3_ERROR = -1 } |
IrThermo 3V3 Click return value data. More... | |
Functions | |
void | irthermo3v3_cfg_setup (irthermo3v3_cfg_t *cfg) |
IrThermo 3V3 configuration object setup function. | |
err_t | irthermo3v3_init (irthermo3v3_t *ctx, irthermo3v3_cfg_t *cfg) |
IrThermo 3V3 initialization function. | |
float | irthermo3v3_get_t_ambient (irthermo3v3_t *ctx) |
Reads Temperature ambient from sensor. | |
float | irthermo3v3_get_t_object (irthermo3v3_t *ctx) |
Reads Temperature object1 from sensor. | |
uint16_t | irthermo3v3_read_reg (irthermo3v3_t *ctx, uint8_t address) |
Generic function for reading values from RAM. | |
This file contains API for IrThermo 3V3 Click Driver.