irgesture2 2.0.0.0
|
This file contains API for IR Gesture 2 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | irgesture2_t |
IR Gesture 2 Click context object. More... | |
struct | irgesture2_cfg_t |
IR Gesture 2 Click configuration object. More... | |
Enumerations | |
enum | irgesture2_return_value_t { IRGESTURE2_OK = 0 , IRGESTURE2_ERROR = -1 } |
IR Gesture 2 Click return value data. More... | |
Functions | |
void | irgesture2_cfg_setup (irgesture2_cfg_t *cfg) |
IR Gesture 2 configuration object setup function. | |
err_t | irgesture2_init (irgesture2_t *ctx, irgesture2_cfg_t *cfg) |
IR Gesture 2 initialization function. | |
err_t | irgesture2_default_cfg (irgesture2_t *ctx) |
IR Gesture 2 default configuration function. | |
err_t | irgesture2_generic_write (irgesture2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
IR Gesture 2 data writing function. | |
err_t | irgesture2_generic_read (irgesture2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
IR Gesture 2 data reading function. | |
err_t | irgesture2_write_register (irgesture2_t *ctx, uint8_t reg, uint8_t data_in) |
IR Gesture 2 write register function. | |
err_t | irgesture2_read_register (irgesture2_t *ctx, uint8_t reg, uint8_t *data_out) |
IR Gesture 2 read register function. | |
err_t | irgesture2_read_pixels (irgesture2_t *ctx, int16_t *pixels, bool flip_pixels) |
IR Gesture 2 read pixels function. | |
uint8_t | irgesture2_get_int_pin (irgesture2_t *ctx) |
IR Gesture 2 get int pin function. | |
This file contains API for IR Gesture 2 Click Driver.