pressure12 2.0.0.0
|
This file contains API for Pressure 12 Click driver. More...
#include "drv_analog_in.h"
Go to the source code of this file.
Data Structures | |
struct | pressure12_t |
Click ctx object definition. More... | |
struct | pressure12_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | PRESSURE12_MAP_MIKROBUS(cfg, mikrobus) cfg.an_pin = MIKROBUS( mikrobus, MIKROBUS_AN ) |
Functions | |
void | pressure12_cfg_setup (pressure12_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | pressure12_init (pressure12_t *ctx, pressure12_cfg_t *cfg) |
Initialization function. | |
err_t | pressure12_read_pin_adc (pressure12_t *ctx, uint16_t *data_out) |
Generic read function. | |
err_t | pressure12_read_pin_voltage (pressure12_t *ctx, float *data_out) |
Generic function for read voltage. | |
err_t | pressure12_get_pressure (pressure12_t *ctx, uint16_t *data_out) |
Get pressure function. | |
This file contains API for Pressure 12 Click driver.