precision-converters-firmware
|
Configuration file for AD4080 IIO firmware application. More...
Go to the source code of this file.
Functions | |
int32_t | init_system (void) |
Initialize the system peripherals. | |
Variables | |
struct no_os_gpio_desc * | gpio_afe_ctrl_desc |
struct no_os_gpio_desc * | gpio_gp1_desc |
struct no_os_gpio_desc * | gpio_gp2_desc |
struct no_os_gpio_desc * | gpio_gp3_desc |
struct no_os_gpio_desc * | gpio_xtal_osc_en_desc |
struct no_os_gpio_desc * | gpio_osc_en_40m_desc |
struct no_os_gpio_desc * | gpio_osc_en_20m_desc |
struct no_os_gpio_desc * | gpio_osc_en_10m_desc |
struct no_os_spi_init_param | config_spi_init_params |
struct no_os_spi_init_param | data_spi_init_params |
struct no_os_uart_desc * | uart_iio_comm_desc |
struct no_os_eeprom_desc * | eeprom_desc |
Configuration file for AD4080 IIO firmware application.
Copyright (c) 2023-25 Analog Devices, Inc.
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 "ad4080" |
#define ACTIVE_OSC OSC_40M |
#define ACTIVE_PLATFORM STM32_PLATFORM |
#define AD4080_ADC_RESOLUTION_BITS 20 |
#define AD4080_CNV_CLK_FREQ_HZ (40000000/(NO_OS_BIT(ACTIVE_OSC))) |
#define AD4080_SIGN_EXT_BITS 4 |
#define AD4080_SIGN_EXTENDED_RESOLUTION_BITS (AD4080_ADC_RESOLUTION_BITS + 4) |
#define AD4080_SIGN_EXTENDED_RESOLUTION_BYTES (AD4080_SIGN_EXTENDED_RESOLUTION_BITS / 8) |
#define ADC_MAX_COUNT (uint32_t)(1 << (AD4080_ADC_RESOLUTION_BITS - 1)) |
#define ADC_REF_VOLTAGE 3 |
#define BUSRT_DATA_CAPTURE 0 |
#define config_spi_extra_init_params stm32_config_spi_extra_init_params |
#define CONSOLE_STDIO_PORT_AVAILABLE |
#define CONTINUOUS_DATA_CAPTURE 1 |
#define DATA_CAPTURE_MODE BURST_DATA_CAPTURE |
#define data_qspi_extra_init_params stm32_data_qspi_extra_init_params |
#define data_spi_extra_init_params stm32_data_spi_extra_init_params |
#define DEVICE_NAME "DEV_AD4080" |
#define FIRMWARE_NAME "ad4080_iio" |
#define gpio_10m_osc_extra_init_params stm32_gpio_10m_osc_init_params |
#define gpio_20m_osc_extra_init_params stm32_gpio_20m_osc_init_params |
#define gpio_40m_osc_extra_init_params stm32_gpio_40m_osc_init_params |
#define gpio_afe_ctrl_extra_init_params stm32_gpio_afe_ctrl_init_params |
#define gpio_gp1_extra_init_params stm32_gpio_gp1_init_params |
#define gpio_gp2_extra_init_params stm32_gpio_gp2_init_params |
#define gpio_gp3_extra_init_params stm32_gpio_gp3_init_params |
#define gpio_ops stm32_gpio_ops |
#define gpio_xtal_osc_en_extra_init_params stm32_gpio_xtal_osc_en_init_params |
#define HW_MEZZANINE_NAME "EVAL-AD4080ARDZ" |
#define i2c_extra_init_params stm32_i2c_extra_init_params |
#define i2c_ops stm32_i2c_ops |
#define IIO_UART_BAUD_RATE (230400) |
#define NUMBER_OF_CHANNELS 1 |
#define OSC_10M 2 |
#define OSC_10M_DEFAULT_STATE NO_OS_GPIO_LOW |
#define OSC_20M 1 |
#define OSC_20M_DEFAULT_STATE NO_OS_GPIO_LOW |
#define OSC_40M 0 |
#define OSC_40M_DEFAULT_STATE NO_OS_GPIO_HIGH |
#define PLATFORM_NAME HW_CARRIER_NAME |
#define spi_ops stm32_spi_ops |
#define STM32_PLATFORM 1 |
#define STR | ( | s | ) | XSTR(s) |
#define uart_extra_init_params stm32_uart_extra_init_params |
#define uart_ops stm32_uart_ops |
#define USE_VIRTUAL_COM_PORT |
#define vcom_extra_init_params stm32_vcom_extra_init_params |
#define vcom_ops stm32_usb_uart_ops |
#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 xspi_ops stm32_xspi_ops |
#define XSTR | ( | s | ) | #s |
int32_t init_system | ( | void | ) |
Initialize the system peripherals.
Initialize the system peripherals.
This function initializes system peripherals for the application
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |