proximity5 2.0.0.0
|
This file contains API for Proximity 5 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 | proximity5_t |
Click ctx object definition. More... | |
struct | proximity5_cfg_t |
Click configuration structure definition. More... | |
union | als_conf1_t |
Click calibration unions. More... | |
union | als_conf2_t |
union | als_thdh_l_m_t |
union | als_thdl_l_m_t |
union | als_data_l_m_t |
union | ps_conf1_t |
union | ps_conf2_t |
union | ps_conf3_t |
union | ps_ms_t |
union | ps_canc_l_m_t |
union | ps_thdl_l_m_t |
union | ps_thdh_l_m_t |
union | ps1_data_l_m_t |
union | ps2_data_l_m_t |
union | ps3_data_l_m_t |
union | white_data_l_m_t |
union | int_flag_t |
union | id_l_m_t |
Functions | |
void | proximity5_cfg_setup (proximity5_cfg_t *cfg) |
Config Object Initialization function. | |
PROXIMITY5_RETVAL | proximity5_init (proximity5_t *ctx, proximity5_cfg_t *cfg) |
Initialization function. | |
void | proximity5_default_cfg (proximity5_t *ctx) |
Click Default Configuration function. | |
void | proximity5_generic_write (proximity5_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | proximity5_generic_read (proximity5_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint16_t | proximity5_read_reg (proximity5_t *ctx, uint8_t addr) |
16bit read function. | |
uint16_t | proximity5_get_id (proximity5_t *ctx) |
16bit read function. | |
void | proximity5_get_values (proximity5_t *ctx, uint16_t *prox_val) |
Proximity value get function. | |
This file contains API for Proximity 5 Click driver.