proximity10 2.0.0.0
|
This file contains API for Proximity 10 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 | proximity10_t |
Click ctx object definition. More... | |
struct | proximity10_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | proximity10_cfg_setup (proximity10_cfg_t *cfg) |
Config Object Initialization function. | |
PROXIMITY10_RETVAL | proximity10_init (proximity10_t *ctx, proximity10_cfg_t *cfg) |
Initialization function. | |
void | proximity10_default_cfg (proximity10_t *ctx) |
Click Default Configuration function. | |
uint8_t | proximity10_generic_write (proximity10_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
uint8_t | proximity10_generic_read (proximity10_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | proximity10_check_int_status (proximity10_t *ctx, uint8_t bit_mask, uint8_t clear_en) |
Check INT Flags function. | |
uint8_t | proximity10_check_chip_status (proximity10_t *ctx, uint8_t bit_mask) |
Check Chip Status function. | |
uint8_t | proximity10_check_int_pin (proximity10_t *ctx) |
Check INT Pin function. | |
uint8_t | proximity10_send_command (proximity10_t *ctx, uint8_t prox_command) |
Command Send function. | |
uint8_t | proximity10_param_query (proximity10_t *ctx, uint8_t param_addr) |
Parameter Query function. | |
uint8_t | proximity10_param_set (proximity10_t *ctx, uint8_t param_addr, uint8_t param_value) |
Parameter Set function. | |
uint8_t | proximity10_param_and (proximity10_t *ctx, uint8_t param_addr, uint8_t param_value) |
Parameter AND function. | |
uint8_t | proximity10_param_or (proximity10_t *ctx, uint8_t param_addr, uint8_t param_value) |
Parameter OR function. | |
This file contains API for Proximity 10 Click driver.