irsense3 2.0.0.0
|
This file contains API for IR Sense 3 Click driver. More...
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | irsense3_t |
Click ctx object definition. More... | |
struct | irsense3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | irsense3_cfg_setup (irsense3_cfg_t *cfg) |
Config Object Initialization function. | |
IRSENSE3_RETVAL | irsense3_init (irsense3_t *ctx, irsense3_cfg_t *cfg) |
Initialization function. | |
void | irsense3_default_cfg (irsense3_t *ctx) |
Click Default Configuration function. | |
void | irsense3_generic_write (irsense3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | irsense3_generic_read (irsense3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | irsense3_get_interrupt_state (irsense3_t *ctx) |
Get Interrupt state. | |
float | irsense3_get_temperature_data (irsense3_t *ctx) |
Temperature data. | |
float | irsense3_get_ir_sensor_data (irsense3_t *ctx) |
Output current of IR sensor. | |
uint8_t | irsense3_human_approach_detect (irsense3_t *ctx) |
Human approach detection. | |
void | irsense3_software_reset (irsense3_t *ctx) |
Software reset. | |
This file contains API for IR Sense 3 Click driver.