emg 2.0.0.0
|
This file contains API for EMG 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 | emg_t |
EMG Click context object. More... | |
struct | emg_cfg_t |
EMG Click configuration object. More... | |
Macros | |
#define | EMG_MAP_MIKROBUS(cfg, mikrobus) cfg.an = MIKROBUS( mikrobus, MIKROBUS_AN ) |
MikroBUS pin mapping. | |
Enumerations | |
enum | emg_return_value_t { EMG_OK = 0 , EMG_ERROR = -1 } |
EMG Click return value data. More... | |
Functions | |
void | emg_cfg_setup (emg_cfg_t *cfg) |
EMG configuration object setup function. | |
err_t | emg_init (emg_t *ctx, emg_cfg_t *cfg) |
EMG initialization function. | |
err_t | emg_read_an_pin_value (emg_t *ctx, uint16_t *data_out) |
EMG read AN pin value function. | |
err_t | emg_read_an_pin_voltage (emg_t *ctx, float *data_out) |
EMG read AN pin voltage level function. | |
This file contains API for EMG Click Driver.
enum emg_return_value_t |