irgesture3 2.1.0.0
|
This file contains API for IR Gesture 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 | irgesture3_pd_data_t |
IR Gesture 3 Click photodiodes data object. More... | |
struct | irgesture3_t |
IR Gesture 3 Click context object. More... | |
struct | irgesture3_cfg_t |
IR Gesture 3 Click configuration object. More... | |
Enumerations | |
enum | irgesture3_return_value_t { IRGESTURE3_OK = 0 , IRGESTURE3_ERROR = -1 } |
IR Gesture 3 Click return value data. More... | |
Functions | |
void | irgesture3_cfg_setup (irgesture3_cfg_t *cfg) |
IR Gesture 3 configuration object setup function. | |
err_t | irgesture3_init (irgesture3_t *ctx, irgesture3_cfg_t *cfg) |
IR Gesture 3 initialization function. | |
err_t | irgesture3_default_cfg (irgesture3_t *ctx) |
IR Gesture 3 default configuration function. | |
err_t | irgesture3_write_register (irgesture3_t *ctx, uint8_t reg, uint16_t data_in) |
IR Gesture 3 write register function. | |
err_t | irgesture3_read_register (irgesture3_t *ctx, uint8_t reg, uint16_t *data_out) |
IR Gesture 3 read register function. | |
err_t | irgesture3_check_communication (irgesture3_t *ctx) |
IR Gesture 3 check communication function. | |
uint8_t | irgesture3_get_io0_pin (irgesture3_t *ctx) |
IR Gesture 3 get io0 function. | |
uint8_t | irgesture3_get_io1_pin (irgesture3_t *ctx) |
IR Gesture 3 get io1 function. | |
err_t | irgesture3_sw_reset (irgesture3_t *ctx) |
IR Gesture 3 sw reset function. | |
err_t | irgesture3_set_mode (irgesture3_t *ctx, uint8_t mode) |
IR Gesture 3 set mode function. | |
err_t | irgesture3_set_adc_fsample (irgesture3_t *ctx, uint16_t freq_hz) |
IR Gesture 3 set adc fsample function. | |
err_t | irgesture3_clear_status (irgesture3_t *ctx) |
IR Gesture 3 clear status function. | |
err_t | irgesture3_wait_data_ready (irgesture3_t *ctx) |
IR Gesture 3 wait data ready function. | |
err_t | irgesture3_get_pd_data (irgesture3_t *ctx, irgesture3_pd_data_t *pd_data) |
IR Gesture 3 get pd data function. | |
err_t | irgesture3_get_gesture (irgesture3_t *ctx, uint8_t *gesture) |
IR Gesture 3 get gesture function. | |
This file contains API for IR Gesture 3 Click Driver.