isoadc6 2.1.0.0
|
This file contains API for ISO ADC 6 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 | isoadc6_t |
ISO ADC 6 Click context object. More... | |
struct | isoadc6_cfg_t |
ISO ADC 6 Click configuration object. More... | |
Enumerations | |
enum | isoadc6_return_value_t { ISOADC6_OK = 0 , ISOADC6_ERROR = -1 } |
ISO ADC 6 Click return value data. More... | |
Functions | |
void | isoadc6_cfg_setup (isoadc6_cfg_t *cfg) |
ISO ADC 6 configuration object setup function. | |
err_t | isoadc6_init (isoadc6_t *ctx, isoadc6_cfg_t *cfg) |
ISO ADC 6 initialization function. | |
err_t | isoadc6_default_cfg (isoadc6_t *ctx) |
ISO ADC 6 default configuration function. | |
err_t | isoadc6_generic_write (isoadc6_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
ISO ADC 6 data writing function. | |
err_t | isoadc6_generic_read (isoadc6_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
ISO ADC 6 data reading function. | |
err_t | isoadc6_write_byte (isoadc6_t *ctx, uint8_t reg, uint8_t data_in) |
ISO ADC 6 byte writing function. | |
err_t | isoadc6_read_byte (isoadc6_t *ctx, uint8_t reg, uint8_t *data_out) |
ISO ADC 6 byte reading function. | |
err_t | isoadc6_write_word (isoadc6_t *ctx, uint8_t reg, uint16_t data_in) |
ISO ADC 6 word writing function. | |
err_t | isoadc6_read_word (isoadc6_t *ctx, uint8_t reg, uint16_t *data_out) |
ISO ADC 6 word reading function. | |
err_t | isoadc6_write_dword (isoadc6_t *ctx, uint8_t reg, uint32_t data_in) |
ISO ADC 6 dword writing function. | |
err_t | isoadc6_read_dword (isoadc6_t *ctx, uint8_t reg, uint32_t *data_out) |
ISO ADC 6 dword reading function. | |
err_t | isoadc6_get_device_id (isoadc6_t *ctx, uint8_t *device_id, uint8_t *sil_rev) |
ISO ADC 6 get device ID function. | |
err_t | isoadc6_set_channel (isoadc6_t *ctx, uint8_t sel_ch, uint16_t ch_data) |
ISO ADC 6 set channel function. | |
err_t | isoadc6_set_ch_config (isoadc6_t *ctx, uint16_t cfg_data) |
ISO ADC 6 set channel config function. | |
err_t | isoadc6_set_adc_control (isoadc6_t *ctx, uint16_t adc_ctrl) |
ISO ADC 6 set ADC control function. | |
err_t | isoadc6_set_ch_offset (isoadc6_t *ctx, uint32_t offset) |
ISO ADC 6 set channel offset function. | |
err_t | isoadc6_get_ch_offset (isoadc6_t *ctx, uint32_t *offset) |
ISO ADC 6 get channel offset function. | |
err_t | isoadc6_set_ch_gain (isoadc6_t *ctx, uint32_t gain) |
ISO ADC 6 set channel gain function. | |
err_t | isoadc6_get_ch_gain (isoadc6_t *ctx, uint32_t *gain) |
ISO ADC 6 get channel gain function. | |
err_t | isoadc6_get_adc_data (isoadc6_t *ctx, uint32_t *adc_data) |
ISO ADC 6 get ADC data function. | |
err_t | isoadc6_get_voltage (isoadc6_t *ctx, float *voltage) |
ISO ADC 6 get voltage level function. | |
This file contains API for ISO ADC 6 Click Driver.