gainamp3 2.0.0.0
|
This file contains API for GainAMP 3 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | gainamp3_t |
GainAMP 3 Click context object. More... | |
struct | gainamp3_cfg_t |
GainAMP 3 Click configuration object. More... | |
Enumerations | |
enum | gainamp3_return_value_t { GAINAMP3_OK = 0 , GAINAMP3_ERROR = -1 } |
GainAMP 3 Click return value data. More... | |
Functions | |
void | gainamp3_cfg_setup (gainamp3_cfg_t *cfg) |
GainAMP 3 configuration object setup function. | |
err_t | gainamp3_init (gainamp3_t *ctx, gainamp3_cfg_t *cfg) |
GainAMP 3 initialization function. | |
err_t | gainamp3_default_cfg (gainamp3_t *ctx) |
GainAMP 3 default configuration function. | |
err_t | gainamp3_continuous_write (gainamp3_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
GainAMP 3 continuous write function. | |
err_t | gainamp3_continuous_read (gainamp3_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
GainAMP 3 continuous read function. | |
err_t | gainamp3_write_register (gainamp3_t *ctx, uint8_t reg, uint8_t data_in) |
GainAMP 3 write register function. | |
err_t | gainamp3_read_register (gainamp3_t *ctx, uint8_t reg, uint8_t *data_out) |
GainAMP 3 read register function. | |
err_t | gainamp3_verify_communication (gainamp3_t *ctx) |
GainAMP 3 verify communication function. | |
err_t | gainamp3_set_amplifier_gain (gainamp3_t *ctx, uint8_t gain) |
GainAMP 3 set amplifier gain function. | |
err_t | gainamp3_set_input_channel (gainamp3_t *ctx, uint8_t channel) |
GainAMP 3 set input channel function. | |
err_t | gainamp3_software_reset (gainamp3_t *ctx) |
GainAMP 3 software reset function. | |
This file contains API for GainAMP 3 Click Driver.