airvelocity 2.1.0.0
|
This file contains API for Air Velocity 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 | airvelocity_t |
Air Velocity Click context object. More... | |
struct | airvelocity_cfg_t |
Air Velocity Click configuration object. More... | |
Macros | |
#define | AIRVELOCITY_DEVICE_ADDRESS 0x28 |
Air Velocity description setting. | |
#define | AIRVELOCITY_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | airvelocity_return_value_t { AIRVELOCITY_OK = 0 , AIRVELOCITY_ERROR = -1 } |
Air Velocity Click return value data. More... | |
Functions | |
void | airvelocity_cfg_setup (airvelocity_cfg_t *cfg) |
Air Velocity configuration object setup function. | |
err_t | airvelocity_init (airvelocity_t *ctx, airvelocity_cfg_t *cfg) |
Air Velocity initialization function. | |
err_t | airvelocity_read_output (airvelocity_t *ctx, uint16_t *out_counts) |
Air Velocity read output function. | |
float | airvelocity_convert_counts_to_mps (uint16_t out_counts) |
Air Velocity convert counts to mps function. | |
This file contains API for Air Velocity Click Driver.