diffpress 2.0.0.0
|
This file contains API for Diff Press Click driver. More...
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | diffpress_t |
Click ctx object definition. More... | |
struct | diffpress_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | DIFFPRESS_MAP_MIKROBUS(cfg, mikrobus) |
#define | DIFFPRESS_RETVAL uint8_t |
#define | DIFFPRESS_OK 0x00 |
#define | DIFFPRESS_INIT_ERROR 0xFF |
#define | DIFFPRESS_DEVICE_ADDRESS 0x4D |
Functions | |
void | diffpress_cfg_setup (diffpress_cfg_t *cfg) |
Config Object Initialization function. | |
DIFFPRESS_RETVAL | diffpress_init (diffpress_t *ctx, diffpress_cfg_t *cfg) |
Initialization function. | |
uint16_t | diffpress_get_adc_data (diffpress_t *ctx) |
Gets adc data function. | |
float | diffpress_get_pressure_difference (diffpress_t *ctx) |
Gets pressure difference function. | |
This file contains API for Diff Press Click driver.