lpg 2.0.0.0
|
This file contains API for LPG Click Driver. More...
#include "drv_analog_in.h"
Go to the source code of this file.
Data Structures | |
struct | lpg_t |
LPG Click context object. More... | |
struct | lpg_cfg_t |
LPG Click configuration object. More... | |
Macros | |
#define | LPG_MAP_MIKROBUS(cfg, mikrobus) cfg.an = MIKROBUS( mikrobus, MIKROBUS_AN ); \ |
MikroBUS pin mapping. | |
Enumerations | |
enum | lpg_return_value_t { LPG_OK = 0 , LPG_ERROR = -1 } |
LPG Click return value data. More... | |
Functions | |
void | lpg_cfg_setup (lpg_cfg_t *cfg) |
LPG configuration object setup function. | |
err_t | lpg_init (lpg_t *ctx, lpg_cfg_t *cfg) |
LPG initialization function. | |
err_t | lpg_read_an_pin_value (lpg_t *ctx, uint16_t *data_out) |
LPG read AN pin value function. | |
err_t | lpg_read_an_pin_voltage (lpg_t *ctx, float *data_out) |
LPG read AN pin voltage level function. | |
This file contains API for LPG Click Driver.
enum lpg_return_value_t |