Go to the documentation of this file.
35 #include "drv_digital_out.h"
36 #include "drv_digital_in.h"
37 #include "drv_i2c_master.h"
60 #define IRTHERMO3V3_SET_DEV_ADDR 0x5A
78 #define IRTHERMO3V3_MAP_MIKROBUS( cfg, mikrobus ) \
79 cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
80 cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
81 cfg.pwm = MIKROBUS( mikrobus, MIKROBUS_PWM )
100 uint8_t slave_address;
204 #endif // IRTHERMO3V3_H
irthermo3v3_return_value_t
IrThermo 3V3 Click return value data.
Definition: irthermo3v3.h:123
float irthermo3v3_get_t_object(irthermo3v3_t *ctx)
Reads Temperature object1 from sensor.
err_t irthermo3v3_init(irthermo3v3_t *ctx, irthermo3v3_cfg_t *cfg)
IrThermo 3V3 initialization function.
void irthermo3v3_cfg_setup(irthermo3v3_cfg_t *cfg)
IrThermo 3V3 configuration object setup function.
Definition: irthermo3v3.h:126
IrThermo 3V3 Click context object.
Definition: irthermo3v3.h:89
Definition: irthermo3v3.h:125
float irthermo3v3_get_t_ambient(irthermo3v3_t *ctx)
Reads Temperature ambient from sensor.
IrThermo 3V3 Click configuration object.
Definition: irthermo3v3.h:107
uint16_t irthermo3v3_read_reg(irthermo3v3_t *ctx, uint8_t address)
Generic function for reading values from RAM.