ambient7 2.0.0.0
|
This file contains API for Ambient 7 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_analog_in.h"
Go to the source code of this file.
Data Structures | |
struct | ambient7_t |
Ambient 7 Click context object. More... | |
struct | ambient7_cfg_t |
Ambient 7 Click configuration object. More... | |
Macros | |
#define | AMBIENT7_MAP_MIKROBUS(cfg, mikrobus) cfg.an_pin = MIKROBUS( mikrobus, MIKROBUS_AN ); |
MikroBUS pin mapping. | |
Enumerations | |
enum | ambient7_return_value_t { AMBIENT7_OK = 0 , AMBIENT7_ERROR = -1 } |
Ambient 7 Click return value data. More... | |
Functions | |
void | ambient7_cfg_setup (ambient7_cfg_t *cfg) |
Ambient 7 configuration object setup function. | |
err_t | ambient7_init (ambient7_t *ctx, ambient7_cfg_t *cfg) |
Ambient 7 initialization function. | |
err_t | ambient7_read_an_pin_value (ambient7_t *ctx, uint16_t *data_out) |
Ambient 7 read AN pin value function. | |
err_t | ambient7_read_an_pin_voltage (ambient7_t *ctx, float *data_out) |
Ambient 7 read AN pin voltage level function. | |
This file contains API for Ambient 7 Click Driver.