precision-converters-firmware
|
Application configurations module for STM32 platform. More...
#include "app_config_stm32.h"
#include "no_os_error.h"
#include "app_config.h"
#include "ad4170_iio.h"
#include "no_os_pwm.h"
Functions | |
uint32_t | HAL_RCC_GetSysClockFreq_app () |
Return the peripheral frequency. More... | |
void | stm32_system_init (void) |
Initialize the STM32 system peripherals. More... | |
void | ad4170_dma_rx_half_cplt (SAI_HandleTypeDef *hsai) |
SAI DMA Receive Half Complete Callback function. More... | |
void | ad4170_dma_rx_cplt (SAI_HandleTypeDef *hsai) |
SAI DMA Receive Complete Callback function. More... | |
void | ad4170_spi_dma_rx_cplt_callback (DMA_HandleTypeDef *hdma) |
Callback function to flag the capture of number of requested samples. More... | |
void | ad4170_spi_dma_rx_half_cplt_callback (DMA_HandleTypeDef *hdma) |
Callback function to flag the capture of Half the number of requested samples. More... | |
void | update_buff (uint32_t *local_buf, uint32_t *buf_start_addr) |
Update buffer index. More... | |
void | tim8_config (void) |
Configure Tx Trigger timer. More... | |
void | stm32_timer_stop (void) |
Disable Timer signals. More... | |
void | stm32_abort_dma_transfer (void) |
Abort DMA Transfers. More... | |
void | tim8_init (struct no_os_pwm_desc *pwm_desc) |
Initialize Tx trigger advanced PWM parameters. More... | |
Variables | |
struct stm32_spi_init_param | stm32_spi_extra_init_params |
struct stm32_uart_init_param | stm32_uart_extra_init_params |
struct stm32_gpio_init_param | stm32_trigger_gpio_extra_init_params |
struct stm32_gpio_init_param | stm32_dig_aux1_gpio_extra_init_params |
struct stm32_gpio_init_param | stm32_dig_aux2_gpio_extra_init_params |
struct stm32_gpio_init_param | stm32_sync_inb_gpio_extra_init_params |
struct stm32_gpio_irq_init_param | stm32_trigger_gpio_irq_init_params |
struct stm32_gpio_init_param | stm32_csb_gpio_extra_init_params |
struct stm32_i2c_init_param | stm32_i2c_extra_init_params |
Application configurations module for STM32 platform.
Copyright (c) 2023-24 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 ad4170_dma_rx_cplt | ( | SAI_HandleTypeDef * | hsai | ) |
SAI DMA Receive Complete Callback function.
hsai | - pointer to a SAI_HandleTypeDef structure |
void ad4170_dma_rx_half_cplt | ( | SAI_HandleTypeDef * | hsai | ) |
SAI DMA Receive Half Complete Callback function.
hsai | - pointer to a SAI_HandleTypeDef structure |
void ad4170_spi_dma_rx_cplt_callback | ( | DMA_HandleTypeDef * | hdma | ) |
Callback function to flag the capture of number of requested samples.
hdma | - DMA handler (Unused) |
void ad4170_spi_dma_rx_half_cplt_callback | ( | DMA_HandleTypeDef * | hdma | ) |
Callback function to flag the capture of Half the number of requested samples.
hdma | - DMA Handler (Unused) |
uint32_t HAL_RCC_GetSysClockFreq_app | ( | ) |
Return the peripheral frequency.
void stm32_abort_dma_transfer | ( | void | ) |
Abort DMA Transfers.
Abort ongoing SPI RX DMA transfer.
void stm32_system_init | ( | void | ) |
Initialize the STM32 system peripherals.
void stm32_timer_stop | ( | void | ) |
Disable Timer signals.
Stops generating timer signals.
void tim8_config | ( | void | ) |
Configure Tx Trigger timer.
void tim8_init | ( | struct no_os_pwm_desc * | pwm_desc | ) |
Initialize Tx trigger advanced PWM parameters.
pwm_desc[in,out] |
void update_buff | ( | uint32_t * | local_buf, |
uint32_t * | buf_start_addr | ||
) |
Update buffer index.
local_buf[out] | - Local Buffer |
buf_start_addr[out] | - Buffer start addr |
struct stm32_gpio_init_param stm32_csb_gpio_extra_init_params |
struct stm32_gpio_init_param stm32_dig_aux1_gpio_extra_init_params |
struct stm32_gpio_init_param stm32_dig_aux2_gpio_extra_init_params |
struct stm32_i2c_init_param stm32_i2c_extra_init_params |
struct stm32_spi_init_param stm32_spi_extra_init_params |
struct stm32_gpio_init_param stm32_sync_inb_gpio_extra_init_params |
struct stm32_gpio_init_param stm32_trigger_gpio_extra_init_params |
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params |
struct stm32_uart_init_param stm32_uart_extra_init_params |