precision-converters-firmware
|
Application configurations module for STM32 platform. More...
#include "app_config_stm32.h"
#include "no_os_error.h"
#include "no_os_util.h"
#include "no_os_pwm.h"
#include "ad3530r.h"
#include "ad3530r_iio.h"
Macros | |
#define | TRANSFER_COMPLETE_TIMEOUT 0xffffff |
Functions | |
void | stm32_system_init (void) |
Initialize the STM32 system peripherals. | |
void | EXTI15_10_IRQHandler (void) |
This function handles the LDAC GPIO interrupt event, to which EXTI line 10 interrupt is dedicated. | |
int | reconfig_stm32_params (void) |
Reconfigure the STM32 specific system parameters with change in data streaming mode. | |
void | tim8_config (void) |
Configure Tx Trigger timer for slave mode operation, one-pulse mode and to generate DMA requests. | |
int | stm32_timer_enable (void) |
Starts the timer signal generation for PWM. | |
int | stm32_timer_stop (void) |
Stop generating timer signals. | |
int | stm32_abort_dma_transfer (void) |
Abort DMA Transfers. | |
void | receivecomplete_callback (DMA_HandleTypeDef *hdma) |
Callback function to flag the transfer of number of requested samples. | |
Variables | |
struct stm32_uart_init_param | stm32_uart_init_params |
struct stm32_usb_uart_init_param | stm32_vcom_extra_init_params |
struct stm32_gpio_irq_init_param | stm32_trigger_gpio_irq_init_params |
struct stm32_spi_init_param | stm32_spi_init_params |
struct stm32_i2c_init_param | stm32_i2c_init_params |
struct stm32_gpio_init_param | stm32_gpio_ldac_init_params |
struct stm32_gpio_init_param | stm32_pwm_ldac_gpio_init_params |
struct stm32_gpio_init_param | stm32_gpio_reset_init_params |
struct stm32_pwm_init_param | stm32_ldac_pwm_init_params |
DMA_HandleTypeDef | hdma_spi1_tx |
struct stm32_gpio_init_param | stm32_csb_gpio_init_params |
struct stm32_pwm_init_param | stm32_tx_trigger_extra_init_params |
struct stm32_dma_channel | txdma_channel_single_instr_mode |
struct stm32_dma_channel | txdma_channel_stream_mode |
struct stm32_dma_channel | rxdma_channel |
volatile struct stm32_spi_desc * | sdesc |
Application configurations module for STM32 platform.
Copyright (c) 2024-25 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 TRANSFER_COMPLETE_TIMEOUT 0xffffff |
void EXTI15_10_IRQHandler | ( | void | ) |
This function handles the LDAC GPIO interrupt event, to which EXTI line 10 interrupt is dedicated.
void receivecomplete_callback | ( | DMA_HandleTypeDef * | hdma | ) |
Callback function to flag the transfer of number of requested samples.
Callback function to flag the capture of number of requested samples.
hdma[in] | - DMA Handler (Unused) |
hdma | - DMA handler (Unused) |
int reconfig_stm32_params | ( | void | ) |
Reconfigure the STM32 specific system parameters with change in data streaming mode.
int stm32_abort_dma_transfer | ( | void | ) |
Abort DMA Transfers.
void stm32_system_init | ( | void | ) |
Initialize the STM32 system peripherals.
int stm32_timer_enable | ( | void | ) |
Starts the timer signal generation for PWM.
int stm32_timer_stop | ( | void | ) |
Stop generating timer signals.
void tim8_config | ( | void | ) |
Configure Tx Trigger timer for slave mode operation, one-pulse mode and to generate DMA requests.
DMA_HandleTypeDef hdma_spi1_tx |
struct stm32_dma_channel rxdma_channel |
volatile struct stm32_spi_desc* sdesc |
struct stm32_gpio_init_param stm32_csb_gpio_init_params |
struct stm32_gpio_init_param stm32_gpio_ldac_init_params |
struct stm32_gpio_init_param stm32_gpio_reset_init_params |
struct stm32_i2c_init_param stm32_i2c_init_params |
struct stm32_pwm_init_param stm32_ldac_pwm_init_params |
struct stm32_gpio_init_param stm32_pwm_ldac_gpio_init_params |
struct stm32_spi_init_param stm32_spi_init_params |
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params |
struct stm32_pwm_init_param stm32_tx_trigger_extra_init_params |
struct stm32_uart_init_param stm32_uart_init_params |
struct stm32_usb_uart_init_param stm32_vcom_extra_init_params |
struct stm32_dma_channel txdma_channel_single_instr_mode |
struct stm32_dma_channel txdma_channel_stream_mode |