proximity8 2.0.0.0
|
This file contains API for Proximity 8 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 | proximity8_t |
Click ctx object definition. More... | |
struct | proximity8_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | proximity8_cfg_setup (proximity8_cfg_t *cfg) |
Config Object Initialization function. | |
PROXIMITY8_RETVAL | proximity8_init (proximity8_t *ctx, proximity8_cfg_t *cfg) |
Initialization function. | |
void | proximity8_default_cfg (proximity8_t *ctx) |
Click Default Configuration function. | |
void | proximity8_generic_write (proximity8_t *ctx, uint8_t reg, uint16_t *data_buf, uint8_t len) |
Generic write function. | |
void | proximity8_generic_read (proximity8_t *ctx, uint8_t reg, uint16_t *data_buf) |
Generic read function. | |
uint8_t | proximity8_get_interrupt_state (proximity8_t *ctx) |
Get interrupt state on the INT pin. | |
This file contains API for Proximity 8 Click driver.