precision-converters-firmware
|
Application configurations module for STM32 platform. More...
Functions | |
void | stm32_system_init (void) |
Initialize the STM32 system peripherals. More... | |
void | EXTI15_10_IRQHandler (void) |
This function handles the LDAC GPIO interrupt event. More... | |
void | TIM4_IRQHandler (void) |
This function handles the timer interrupt event which is used to stop the spi dma transfer. More... | |
int32_t | stm32_spi_dma_enable (struct stm32_spi_desc *spidesc, struct iio_device_data *iio_dev_data, uint16_t num_of_bytes_transfer, uint8_t start_addr) |
Enables SPI DMA to move data from iio buffer to SPI TX buffer. More... | |
int32_t | stm32_spi_dma_disable (struct stm32_spi_desc *spidesc) |
Disable SPI DMA which move data from iio buffer to SPI TX buffer. More... | |
Variables | |
struct stm32_uart_init_param | stm32_uart_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_spi_init_param | stm32_spi_init_params_without_sw_csb |
struct stm32_gpio_init_param | stm32_gpio_ldac_init_params |
struct stm32_gpio_init_param | stm32_spi_dma_tx_stop_pwm_gpio_init_params |
struct stm32_gpio_init_param | stm32_gpio_reset_init_params |
struct stm32_pwm_init_param | stm32_ldac_pwm_init_params |
struct stm32_pwm_init_param | stm32_spi_dma_tx_stop_pwm_init_params |
uint32_t | spi_dma_tx_stop_pwm_frequency [NUMBER_OF_CHANNELS] = { 3214285,319182 } |
Application configurations module for STM32 platform.
Copyright (c) 2023-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.
void EXTI15_10_IRQHandler | ( | void | ) |
This function handles the LDAC GPIO interrupt event.
int32_t stm32_spi_dma_disable | ( | struct stm32_spi_desc * | spidesc | ) |
Disable SPI DMA which move data from iio buffer to SPI TX buffer.
desc[in]- | Pointer to ad3552r device descriptor |
int32_t stm32_spi_dma_enable | ( | struct stm32_spi_desc * | spidesc, |
struct iio_device_data * | iio_dev_data, | ||
uint16_t | num_of_bytes_transfer, | ||
uint8_t | start_addr | ||
) |
Enables SPI DMA to move data from iio buffer to SPI TX buffer.
desc[in]- | Pointer to ad3552r device descriptor |
iio_dev_data[in]- | Pointer to IIO device data structure |
num_of_bytes_transfer[in]- | number of bytes to transfer for each ldac cycle. |
start_addr[in]- | starting address need to be transferred in streaming mode of ad3552r |
void stm32_system_init | ( | void | ) |
Initialize the STM32 system peripherals.
void TIM4_IRQHandler | ( | void | ) |
This function handles the timer interrupt event which is used to stop the spi dma transfer.
uint32_t spi_dma_tx_stop_pwm_frequency[NUMBER_OF_CHANNELS] = { 3214285,319182 } |
struct stm32_gpio_init_param stm32_gpio_ldac_init_params |
struct stm32_gpio_init_param stm32_gpio_reset_init_params |
struct stm32_pwm_init_param stm32_ldac_pwm_init_params |
struct stm32_gpio_init_param stm32_spi_dma_tx_stop_pwm_gpio_init_params |
struct stm32_pwm_init_param stm32_spi_dma_tx_stop_pwm_init_params |
struct stm32_spi_init_param stm32_spi_init_params |
struct stm32_spi_init_param stm32_spi_init_params_without_sw_csb |
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params |
struct stm32_uart_init_param stm32_uart_init_params |