precision-converters-firmware
|
Configuration file for ad719x IIO firmware application. More...
Go to the source code of this file.
Functions | |
int32_t | init_system (void) |
Initialize the system peripherals. | |
void | burst_capture_callback (void *context) |
Interrupt Service Routine to monitor end of conversion event. | |
Variables | |
struct no_os_uart_desc * | uart_desc |
struct no_os_irq_ctrl_desc * | trigger_irq_desc |
struct no_os_eeprom_desc * | eeprom_desc |
Configuration file for ad719x IIO firmware application.
Copyright (c) 2021-24 Analog Devices, Inc.
All rights reserved.
This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.
#define ACTIVE_DEVICE_NAME "ad7193" |
#define ACTIVE_MODE NORMAL_MODE |
#define ACTIVE_PLATFORM STM32_PLATFORM |
#define ADC_MAX_COUNT_BIPOLAR (uint32_t)(1 << (ADC_RESOLUTION-1)) |
#define ADC_MAX_COUNT_UNIPOLAR (uint32_t)((1 << ADC_RESOLUTION) - 1) |
#define ADC_RESOLUTION 24 |
#define BIPOLAR_MODE 0 |
#define BURST_DATA_CAPTURE 1 |
#define CONTINUOUS_DATA_CAPTURE 0 |
#define DATA_CAPTURE_MODE CONTINUOUS_DATA_CAPTURE |
#define DEV_AD7193 |
#define DEVICE_NAME "DEV_AD7193" |
#define DIFFERENTIAL_INPUT 0 |
#define FAST_50HZ_TEST 2 |
#define FIRMWARE_NAME "ad719x_iio" |
#define gpio_ops stm32_gpio_ops |
#define gpio_sync_init_params stm32_gpio_sync_extra_init_params |
#define HW_MEZZANINE_NAME "EVAL-AD7193-ASDZ" |
#define i2c_extra_init_params stm32_i2c_extra_init_params |
#define i2c_ops stm32_i2c_ops |
#define IIO_UART_BAUD_RATE (230400) |
#define INPUT_CONFIG PSEUDO_DIFFERENTIAL_INPUT |
#define irq_platform_ops stm32_gpio_irq_ops |
#define NO_OF_CHANNELS 8 |
#define NOISE_TEST 1 |
#define NORMAL_MODE 0 |
#define PLATFORM_NAME HW_CARRIER_NAME |
#define POLARITY_CONFIG UNIPOLAR_MODE |
#define PSEUDO_DIFFERENTIAL_INPUT 1 |
#define spi_extra_init_params stm32_spi_extra_init_params |
#define spi_ops stm32_spi_ops |
#define STR | ( | s | ) | XSTR(s) |
#define trigger_gpio_handle 0 |
#define trigger_gpio_irq_extra_params stm32_trigger_gpio_irq_init_params |
#define trigger_gpio_irq_ops stm32_gpio_irq_ops |
#define TRIGGER_INT_ID RDY_PIN |
#define uart_extra_init_params stm32_uart_extra_init_params |
#define uart_ops stm32_uart_ops |
#define UNIPOLAR_MODE 1 |
#define USE_VIRTUAL_COM_PORT |
#define VIRTUAL_COM_PORT_PID 0xb66c |
#define VIRTUAL_COM_PORT_VID 0x0456 |
#define VIRTUAL_COM_SERIAL_NUM (FIRMWARE_NAME "_" DEVICE_NAME "_" STR(PLATFORM_NAME)) |
#define XSTR | ( | s | ) | #s |
|
extern |
Interrupt Service Routine to monitor end of conversion event.
context[in] | - Callback context (unused) |
Interrupt Service Routine to monitor end of conversion event.
context[in] | - Callback context (unused) |
int32_t init_system | ( | void | ) |
Initialize the system peripherals.
Initialize the system peripherals.
This function initializes system peripherals for the application
|
extern |
|
extern |
|
extern |