|
piezoaccel
2.0.0.0
|
This file contains API for Piezo Accel Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_spi_master.h"#include "drv_analog_in.h"Go to the source code of this file.
Data Structures | |
| struct | piezoaccel_t |
| Piezo Accel Click context object. More... | |
| struct | piezoaccel_cfg_t |
| Piezo Accel Click configuration object. More... | |
| struct | piezoaccel_setup_t |
| Piezo Accel Click Configuration setup structure. More... | |
Macros | |
| #define | PIEZOACCEL_MEAS_MODE_AN_PIN 0x00 |
| Piezo Accel measurement mode. More... | |
| #define | PIEZOACCEL_MEAS_MODE_ADC 0x01 |
| #define | PIEZOACCEL_SENSOR_VOLTAGE_5V 0x00 |
| Piezo Accel sensor voltage mode. More... | |
| #define | PIEZOACCEL_SENSOR_VOLTAGE_3V3 0x01 |
| #define | PIEZOACCEL_MAP_MIKROBUS(cfg, mikrobus) |
| MikroBUS pin mapping. More... | |
Functions | |
| void | piezoaccel_cfg_setup (piezoaccel_cfg_t *cfg) |
| Piezo Accel configuration object setup function. More... | |
| err_t | piezoaccel_init (piezoaccel_t *ctx, piezoaccel_cfg_t *cfg) |
| Piezo Accel initialization function. More... | |
| void | piezoaccel_default_cfg (piezoaccel_t *ctx, piezoaccel_setup_t *setup_cfg_data) |
| Piezo Accel default configuration function. More... | |
| uint16_t | piezoaccel_adc_raw_read (piezoaccel_t *ctx) |
| Piezo Accel read raw adc function. More... | |
| float | piezoaccel_adc_voltage_read (piezoaccel_t *ctx) |
| Piezo Accel read adc converted to voltage function. More... | |
| err_t | piezoaccel_read_an_pin_value (piezoaccel_t *ctx, uint16_t *data_out) |
| Piezo Accel read AN pin value function. More... | |
| err_t | piezoaccel_read_an_pin_voltage (piezoaccel_t *ctx, float *data_out) |
| Piezo Accel read AN pin voltage level function. More... | |
| float | piezoaccel_g_unit_read (piezoaccel_t *ctx, piezoaccel_setup_t *cfg_data) |
| Piezo Accel read force of acceleration function. More... | |
| void | piezoaccel_calibration (piezoaccel_t *ctx, piezoaccel_setup_t *cfg_data) |
| Piezo Accel calibration function. More... | |
This file contains API for Piezo Accel Click Driver.
1.8.16