|
precision-converters-firmware
|
Configuration file for AD552XR IIO firmware application. More...


Go to the source code of this file.
Functions | |
| int32_t | set_timer_prescaler (struct no_os_pwm_desc *desc, uint32_t prescaler) |
| Set prescaler for timer. | |
Variables | |
| struct no_os_spi_init_param | spi_init_params |
| struct no_os_i2c_init_param | i2c_init_params |
| struct no_os_gpio_init_param | gpio_clear_n_init_params |
| struct no_os_gpio_init_param | gpio_reset_n_init_params |
| struct no_os_gpio_init_param | gpio_alarm_n_init_params |
| struct no_os_gpio_init_param | gpio_md_addr0_init_params |
| struct no_os_gpio_init_param | gpio_md_addr1_init_params |
| struct no_os_gpio_init_param | gpio_ldac_tgpx_init_params [NUM_TGPx] |
| struct no_os_uart_init_param | uart_iio_comm_init_params |
| struct no_os_uart_init_param | uart_console_stdio_init_params |
| struct no_os_uart_desc * | uart_iio_comm_desc |
| struct no_os_uart_desc * | uart_console_stdio_desc |
| struct no_os_eeprom_desc * | eeprom_desc |
| struct no_os_irq_init_param | irq_iio_trigger_init_params |
Configuration file for AD552XR IIO firmware application.
Copyright (c) 2026 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_PLATFORM STM32_PLATFORM |
| #define AD552XR_DAC_RESOLUTION 16 |
| #define AD552XR_IIO_NUM_DEVICES 4 |
| #define AD552XR_IIO_SAMPLE_RATE (50E3) |
| #define AD552XR_MAX_SAMPLE_RATE (1E6) |
| #define CONSOLE_STDIO_PORT_AVAILABLE |
| #define dma_ops stm32_dma_ops |
| #define gpio_cs_pwm_extra_init_params stm32_gpio_cs_pwm_extra_init_params |
| #define gpio_input_extra_init_params stm32_gpio_input_extra_init_params |
| #define gpio_ldac_tgp_pwm_extra_init_params stm32_gpio_ldac_tgp_pwm_extra_init_params |
| #define gpio_ops stm32_gpio_ops |
| #define gpio_output_extra_init_params stm32_gpio_output_extra_init_params |
| #define HZ_NS_CONVERT | ( | x | ) | (uint32_t)((1.0 / x) * 1E9) |
| #define i2c_extra_init_params stm32_i2c_extra_init_params |
| #define i2c_ops stm32_i2c_ops |
| #define IIO_UART_BAUD_RATE (230400) |
| #define INTERFACE_MODE SPI_DMA |
| #define irq_ops stm32_irq_ops |
| #define LDAC_DUTY_CYCLE_NSEC | ( | x | ) | (x * 0.5) |
| #define pwm_dac_update_extra_init_params stm32_pwm_dac_update_extra_init_params |
| #define pwm_dma_trigger_extra_init_params stm32_pwm_dma_trigger_extra_init_params |
| #define pwm_ops stm32_pwm_ops |
| #define pwm_tgp_extra_init_params stm32_pwm_tgp_extra_init_params |
| #define pwm_tgp_trigger_mode_extra_init_params stm32_pwm_tgp_trigger_mode_extra_init_params |
| #define SPI_DMA 2 |
| #define spi_extra_init_params stm32_spi_extra_init_params |
| #define SPI_INTERRUPT 1 |
| #define spi_ops stm32_spi_ops |
| #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 XSTR | ( | s | ) | #s |
| int32_t set_timer_prescaler | ( | struct no_os_pwm_desc * | desc, |
| uint32_t | prescaler | ||
| ) |
Set prescaler for timer.
| desc[in] | - The PWM descriptor. |
| prescaler[in] | - Prescaler to be set. |

|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |