precision-converters-firmware
|
Source file for STM32 platform configurations. More...
#include <stdbool.h>
#include <string.h>
#include "app_config.h"
#include "app_config_stm32.h"
#include "ad405x_iio.h"
#include "ad405x.h"
#include "iio.h"
Functions | |
void | SystemClock_Config (void) |
void | receivecomplete_callback (DMA_HandleTypeDef *hdma) |
Callback function to flag the transfer of number of requested samples. | |
void | stm32_system_init (void) |
Initialize the STM32 system peripherals. | |
void | stm32_system_init_post_verification (void) |
Initialize the STM32 system peripherals after the device has been verified. | |
void | update_buff (uint8_t *local_buf, uint8_t *buf_start_addr) |
Update buffer index. | |
void | stm32_config_cnv_prescalar (void) |
Configures the prescalar according to the operating mode. | |
__weak unsigned int | ux_device_stack_tasks_run (void) |
Dummy function for USBx middleware used in STM32H563. | |
Variables | |
struct stm32_uart_init_param | stm32_uart_extra_init_params |
struct stm32_gpio_init_param | stm32_gpio_gp0_extra_init_params |
struct stm32_gpio_init_param | stm32_gpio_gp1_extra_init_params |
struct stm32_gpio_irq_init_param | stm32_gpio_irq_extra_init_params |
struct stm32_gpio_init_param | stm32_cs_pwm_gpio_extra_init_params |
struct stm32_gpio_init_param | stm32_cs_gpio_extra_init_params |
struct stm32_gpio_init_param | stm32_pwm_gpio_extra_init_params |
struct stm32_pwm_init_param | stm32_pwm_cnv_extra_init_params |
volatile struct stm32_spi_desc * | sdesc |
volatile int | dma_cycle_count = 0 |
uint32_t | rxdma_ndtr |
volatile uint8_t * | iio_buf_start_idx |
volatile uint8_t * | dma_buf_start_idx |
volatile uint8_t * | iio_buf_current_idx |
volatile uint8_t * | dma_buf_current_idx |
Source file for STM32 platform configurations.
Copyright (c) 2023-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.
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) |
Callback function to flag the transfer of number of requested samples.
hdma | - DMA handler (Unused) |
Callback function to flag the transfer of number of requested samples.
hdma | - DMA Handler (Unused) |
void stm32_config_cnv_prescalar | ( | void | ) |
Configures the prescalar according to the operating mode.
void stm32_system_init | ( | void | ) |
Initialize the STM32 system peripherals.
void stm32_system_init_post_verification | ( | void | ) |
Initialize the STM32 system peripherals after the device has been verified.
void SystemClock_Config | ( | void | ) |
void update_buff | ( | uint8_t * | local_buf, |
uint8_t * | buf_start_addr | ||
) |
Update buffer index.
local_buf[out] | - Local Buffer |
buf_start_addr[out] | - Buffer start addr |
__weak unsigned int ux_device_stack_tasks_run | ( | void | ) |
Dummy function for USBx middleware used in STM32H563.
volatile uint8_t* dma_buf_current_idx |
volatile uint8_t* dma_buf_start_idx |
volatile int dma_cycle_count = 0 |
volatile uint8_t* iio_buf_current_idx |
volatile uint8_t* iio_buf_start_idx |
uint32_t rxdma_ndtr |
volatile struct stm32_spi_desc* sdesc |
struct stm32_gpio_init_param stm32_cs_gpio_extra_init_params |
struct stm32_gpio_init_param stm32_cs_pwm_gpio_extra_init_params |
struct stm32_gpio_init_param stm32_gpio_gp0_extra_init_params |
struct stm32_gpio_init_param stm32_gpio_gp1_extra_init_params |
struct stm32_gpio_irq_init_param stm32_gpio_irq_extra_init_params |
struct stm32_pwm_init_param stm32_pwm_cnv_extra_init_params |
struct stm32_gpio_init_param stm32_pwm_gpio_extra_init_params |
struct stm32_uart_init_param stm32_uart_extra_init_params |