|
precision-converters-firmware
|
Configuration file for AD5754R device application. More...


Go to the source code of this file.
Functions | |
| int32_t | init_pwm (void) |
| Initialize the PWM interface. | |
| int32_t | init_system (void) |
| Initialize the system peripherals. | |
Variables | |
| struct no_os_uart_desc * | uart_iio_com_desc |
| struct no_os_uart_desc * | uart_console_stdio_desc |
| struct no_os_gpio_init_param | ldac_gpio_params |
| struct no_os_gpio_init_param | clear_gpio_params |
| struct no_os_eeprom_desc * | eeprom_desc |
| struct no_os_gpio_desc * | trigger_gpio_desc |
| struct no_os_irq_ctrl_desc * | trigger_irq_desc |
| struct no_os_pwm_desc * | pwm_desc |
| struct no_os_pwm_init_param | pwm_init_params |
Configuration file for AD5754R device application.
Copyright (c) 2024,2025 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 "ad5754r" |
| #define ACTIVE_PLATFORM STM32_PLATFORM |
| #define AD5754R_VREF 2.5 |
| #define clear_gpio_extra_init_params stm32_clear_gpio_init_params |
| #define CONSOLE_STDIO_PORT_AVAILABLE |
| #define CONV_TRIGGER_DUTY_CYCLE_NSEC | ( | x | ) | ((CONV_TRIGGER_PERIOD_NSEC(x) * 9) / 10) |
| #define CONV_TRIGGER_PERIOD_NSEC | ( | x | ) | (((float)(1.0 / x) * 1000000) * 1000) |
| #define dac_gpio_ops stm32_gpio_ops |
| #define DAC_MAX_COUNT_2S_COMPL (uint32_t)(1 << (AD5754R_MAX_RESOLUTION-1)) |
| #define DAC_MAX_COUNT_BIN_OFFSET (uint32_t)((1 << AD5754R_MAX_RESOLUTION) - 1) |
| #define DEV_CN0586 |
| #define DEVICE_NAME "DEV_CN0586" |
| #define FIRMWARE_NAME "ad5754r_iio" |
| #define HW_CARRIER_NAME TARGET_NAME |
| #define HW_MEZZANINE_NAME "EVAL-CN0586-ARDZ" |
| #define IIO_UART_BAUD_RATE (230400) |
| #define ldac_gpio_extra_init_params stm32_ldac_gpio_init_params |
| #define PLATFORM_NAME HW_CARRIER_NAME |
| #define pwm_extra_init_params stm32_pwm_extra_init_params |
| #define spi_extra_init_params stm32_spi_extra_init_params |
| #define STR | ( | s | ) | XSTR(s) |
| #define trigger_gpio_handle 0 |
| #define trigger_gpio_irq_extra_params stm32_trigger_gpio_irq_init_params |
| #define uart_extra_init_params stm32_uart_extra_init_params |
| #define USE_BINARY_CODING |
| #define USE_VIRTUAL_COM_PORT |
| #define vcom_extra_init_params stm32_vcom_extra_init_params |
| #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 |
| int32_t init_pwm | ( | void | ) |
Initialize the PWM interface.
Initialize the PWM interface.

| 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 |