|
precision-converters-firmware
|
Source file for STM32 platform configurations. More...
#include <stdbool.h>#include "app_config_stm32.h"#include "ad4692.h"#include "app_config.h"#include "no_os_error.h"#include "ad4692_user_config.h"
Functions | |
| void | stm32_system_init (void) |
| Initialize the STM32 system peripherals. | |
| int | ad4692_config_and_start_pwm (struct ad4692_desc *desc) |
| Configure and start PWM. | |
| void | ad4692_stop_timer (void) |
| Stop timers and DMA transfers. | |
| void | stm32_abort_dma_transfer (void) |
| Abort DMA Transfers. | |
| void | update_buff (uint8_t *local_buf, uint8_t *buf_start_addr) |
| Update buffer index. | |
| void | ad4692_spi_dma_rx_half_cplt_callback (DMA_HandleTypeDef *hdma) |
| Callback function to flag the capture of number of requested samples. | |
| void | ad4692_spi_dma_rx_cplt_callback (DMA_HandleTypeDef *hdma) |
| Callback function to flag the capture of number of requested samples. | |
| void | DMA2_Stream0_IRQHandler (void) |
| DMA2 Stream0 IRQ Handler. | |
| void | tim8_init (void) |
| Initialize Tx trigger advanced PWM parameters. | |
| void | EXTI0_IRQHandler (void) |
| GPIO IRQ handler for the interrupt trigger. | |
| void | EXTI15_10_IRQHandler (void) |
| GPIO15-10 IRQ handler for the interrupt trigger. | |
| void | stm32_tim4_init (void) |
| Initialize Timer 4. | |
Source file for STM32 platform configurations.
Copyright (c) 2024 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.
| int ad4692_config_and_start_pwm | ( | struct ad4692_desc * | desc | ) |
Configure and start PWM.
| desc[in] | - Device descriptor |

| void ad4692_spi_dma_rx_cplt_callback | ( | DMA_HandleTypeDef * | hdma | ) |
Callback function to flag the capture of number of requested samples.
| hdma | - DMA handler (Unused) |
| void ad4692_spi_dma_rx_half_cplt_callback | ( | DMA_HandleTypeDef * | hdma | ) |
Callback function to flag the capture of number of requested samples.
| hdma | - DMA handler (Unused) |
| void ad4692_stop_timer | ( | void | ) |
Stop timers and DMA transfers.

| void DMA2_Stream0_IRQHandler | ( | void | ) |
DMA2 Stream0 IRQ Handler.
| None |
| void EXTI0_IRQHandler | ( | void | ) |
GPIO IRQ handler for the interrupt trigger.
| void EXTI15_10_IRQHandler | ( | void | ) |
GPIO15-10 IRQ handler for the interrupt trigger.
| void stm32_abort_dma_transfer | ( | void | ) |
Abort DMA Transfers.
| void stm32_system_init | ( | void | ) |
Initialize the STM32 system peripherals.
| void stm32_tim4_init | ( | void | ) |
Initialize Timer 4.

| void tim8_init | ( | void | ) |
Initialize Tx trigger advanced PWM parameters.

| void update_buff | ( | uint8_t * | local_buf, |
| uint8_t * | buf_start_addr | ||
| ) |
Update buffer index.
| local_buf[in] | - Local Buffer |
| buf_start_addr[in] | - Buffer start addr |
| uint8_t* dma_buf_current_idx |
| uint8_t* dma_buf_start_idx |
| uint32_t dma_cycle_count = 0 |
| uint8_t* iio_buf_current_idx |
| uint8_t* iio_buf_start_idx |
| struct stm32_dma_channel rxdma_channel |
| uint32_t rxdma_ndtr |
| struct stm32_spi_desc* sdesc |
| struct stm32_gpio_init_param stm32_cnv_pwm_gpio_extra_init_params |
| struct stm32_gpio_init_param stm32_csb_gpio_extra_init_params |
| struct stm32_gpio_init_param stm32_gpio_bsy_extra_init_params |
| struct stm32_gpio_init_param stm32_gpio_cnv_extra_init_params |
| struct stm32_gpio_irq_init_param stm32_gpio_irq_extra_init_params |
| struct stm32_gpio_init_param stm32_gpio_reset_extra_init_params |
| struct stm32_i2c_init_param stm32_i2c_extra_init_params |
| struct stm32_pwm_init_param stm32_pwm_cnv_extra_init_params |
| struct stm32_pwm_init_param stm32_pwm_spi_burst_extra_init_params |
| struct stm32_gpio_init_param stm32_spi_burst_pwm_gpio_extra_init_params |
| struct stm32_spi_init_param stm32_spi_extra_init_params |
| struct stm32_pwm_init_param stm32_tx_trigger_extra_init_params |
| struct stm32_uart_init_param stm32_uart_extra_init_params |
| struct stm32_usb_uart_init_param stm32_vcom_extra_init_params |
| struct stm32_dma_channel txdma_channel |