presence 2.0.0.0
|
This file contains API for Presence 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 | eeprom_data_t |
struct | presence_t |
Click ctx object definition. More... | |
struct | presence_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | presence_cfg_setup (presence_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | presence_init (presence_t *ctx, presence_cfg_t *cfg) |
Initialization function. | |
err_t | presence_default_cfg (presence_t *ctx) |
Presence default configuration function. | |
err_t | presence_generic_write (presence_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
err_t | presence_generic_read (presence_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | presence_get_int_state (presence_t *ctx) |
Get interrupt state function. | |
void | presence_general_call_addr (presence_t *ctx) |
General call address. | |
err_t | presence_eeprom_process (presence_t *ctx) |
EEPRM PROCESS. | |
float | presence_get_calib_constants (presence_t *ctx) |
Calibration constant K. | |
err_t | presence_ambient_temperature (presence_t *ctx, float *temperature) |
Ambient Temperature. | |
err_t | presence_object_temperature (presence_t *ctx, float *temperature) |
Object Temperature. | |
This file contains API for Presence Click driver.