#include "app_config.h"
#include "stm32_uart.h"
#include "stm32_spi.h"
#include "stm32_tdm.h"
#include "stm32_gpio.h"
#include "stm32_i2c.h"
#include "stm32_gpio_irq.h"
#include "stm32_pwm.h"
 
Go to the source code of this file.
◆ AD777x_SAMPLING_FREQUENCY
      
        
          | #define AD777x_SAMPLING_FREQUENCY   32000 | 
        
      
 
 
◆ APP_UART_HANDLE
      
        
          | #define APP_UART_HANDLE   &huart3 | 
        
      
 
 
◆ DMA_IRQ_ID
      
        
          | #define DMA_IRQ_ID   GPDMA1_Channel7_IRQn | 
        
      
 
 
◆ DRDY_IRQ_CTRL_ID
◆ GPIO_CONVST_PORT
      
        
          | #define GPIO_CONVST_PORT   3 | 
        
      
 
 
◆ GPIO_CONVST_SAR_PIN
      
        
          | #define GPIO_CONVST_SAR_PIN   6 | 
        
      
 
 
◆ GPIO_DCLK0_PIN
◆ GPIO_DCLK0_PORT
      
        
          | #define GPIO_DCLK0_PORT   0 | 
        
      
 
 
◆ GPIO_DCLK1_PIN
◆ GPIO_DCLK1_PORT
      
        
          | #define GPIO_DCLK1_PORT   0 | 
        
      
 
 
◆ GPIO_DCLK2_PIN
◆ GPIO_DCLK2_PORT
      
        
          | #define GPIO_DCLK2_PORT   0 | 
        
      
 
 
◆ GPIO_DRDY_PIN
◆ GPIO_DRDY_PORT
◆ GPIO_ERROR_LED
      
        
          | #define GPIO_ERROR_LED   LED3_RED_Pin | 
        
      
 
 
◆ GPIO_ERROR_LED_PORT
      
        
          | #define GPIO_ERROR_LED_PORT   0 | 
        
      
 
 
◆ GPIO_MODE0_PIN
◆ GPIO_MODE0_PORT
      
        
          | #define GPIO_MODE0_PORT   0 | 
        
      
 
 
◆ GPIO_MODE1_PIN
◆ GPIO_MODE1_PORT
      
        
          | #define GPIO_MODE1_PORT   0 | 
        
      
 
 
◆ GPIO_MODE2_PIN
◆ GPIO_MODE2_PORT
      
        
          | #define GPIO_MODE2_PORT   0 | 
        
      
 
 
◆ GPIO_MODE3_PIN
◆ GPIO_MODE3_PORT
      
        
          | #define GPIO_MODE3_PORT   0 | 
        
      
 
 
◆ GPIO_RESET_PIN
      
        
          | #define GPIO_RESET_PIN   14 | 
        
      
 
 
◆ GPIO_RESET_PORT
      
        
          | #define GPIO_RESET_PORT   6 | 
        
      
 
 
◆ GPIO_SYNC_IN_PIN
      
        
          | #define GPIO_SYNC_IN_PIN   7 | 
        
      
 
 
◆ GPIO_SYNC_PORT
◆ GPIO_TRIGGER_INT_PORT
      
        
          | #define GPIO_TRIGGER_INT_PORT   EXTI_GPIOF | 
        
      
 
 
◆ I2C_DEVICE_ID
◆ I2C_TIMING
      
        
          | #define I2C_TIMING   0x00000E14 | 
        
      
 
 
◆ IRQ_INT_ID
◆ MCLK_PWM_CHANNEL
      
        
          | #define MCLK_PWM_CHANNEL   3 | 
        
      
 
 
◆ MCLK_PWM_CLK_DIVIDER
      
        
          | #define MCLK_PWM_CLK_DIVIDER   2 | 
        
      
 
 
◆ MCLK_PWM_HANDLE
      
        
          | #define MCLK_PWM_HANDLE   htim1 | 
        
      
 
 
◆ MCLK_PWM_ID
◆ MCLK_PWM_PRESCALER
      
        
          | #define MCLK_PWM_PRESCALER   1 | 
        
      
 
 
◆ PERIPH_INTR_PRE_EMPT_PRIORITY
      
        
          | #define PERIPH_INTR_PRE_EMPT_PRIORITY   7 | 
        
      
 
 
◆ PERIPH_INTR_SUB_PRI_PRIORITY
      
        
          | #define PERIPH_INTR_SUB_PRI_PRIORITY   3 | 
        
      
 
 
◆ SAI_BASE
      
        
          | #define SAI_BASE   SAI1_Block_A | 
        
      
 
 
◆ SPI_CSB
◆ SPI_DEVICE_ID
◆ STM32_SPI_CS_PORT
      
        
          | #define STM32_SPI_CS_PORT   3 | 
        
      
 
 
◆ STM32_SPI_ID
◆ TDM_DATA_SIZE
◆ TDM_DMA_READ_SIZE
◆ TDM_FS_ACTIVE_LENGTH
      
        
          | #define TDM_FS_ACTIVE_LENGTH   1 | 
        
      
 
 
◆ TDM_N_SAMPLES_DMA_READ
      
        
          | #define TDM_N_SAMPLES_DMA_READ   800 | 
        
      
 
 
◆ TDM_SLOTS_PER_FRAME
      
        
          | #define TDM_SLOTS_PER_FRAME   8 | 
        
      
 
 
◆ TIMER1_ID
◆ UART_DEVICE_ID
◆ UART_IRQ_ID
      
        
          | #define UART_IRQ_ID   USART3_IRQn | 
        
      
 
 
◆ UART_PRE_EMPT_PRIORITY
      
        
          | #define UART_PRE_EMPT_PRIORITY   2 | 
        
      
 
 
◆ UART_SUB_PRI_PRIORITY
      
        
          | #define UART_SUB_PRI_PRIORITY   0 | 
        
      
 
 
◆ ad777x_configure_intr_priority()
      
        
          | void ad777x_configure_intr_priority  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Configure the interrupt priorities. 
- Returns
 - None
 
Configure the interrupt priorities.
- Returns
 - None 
 
 
 
◆ ad777x_dma_rx_cplt()
      
        
          | void ad777x_dma_rx_cplt  | 
          ( | 
          SAI_HandleTypeDef *  | 
          hsai | ) | 
           | 
        
      
 
SAI DMA Receive Complete Callback function. 
- Parameters
 - 
  
    | hsai | - pointer to a SAI_HandleTypeDef structure  | 
  
   
- Returns
 - None 
 
 
 
◆ ad777x_dma_rx_half_cplt()
      
        
          | void ad777x_dma_rx_half_cplt  | 
          ( | 
          SAI_HandleTypeDef *  | 
          hsai | ) | 
           | 
        
      
 
SAI DMA Receive Half Complete Callback function. 
- Parameters
 - 
  
    | hsai | - pointer to a SAI_HandleTypeDef structure  | 
  
   
- Returns
 - None 
 
 
 
◆ HAL_Init()
      
        
          | HAL_StatusTypeDef HAL_Init  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ MX_GPIO_Init()
      
        
          | void MX_GPIO_Init  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ MX_ICACHE_Init()
      
        
          | void MX_ICACHE_Init  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ MX_LPUART1_UART_Init()
      
        
          | void MX_LPUART1_UART_Init  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ MX_SPI1_Init()
      
        
          | void MX_SPI1_Init  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ SystemClock_Config()
      
        
          | void SystemClock_Config  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ ad777x_iio_dev_data
  
  
      
        
          | struct iio_device_data* ad777x_iio_dev_data | 
         
       
   | 
  
extern   | 
  
 
 
◆ data_capture_operation
  
  
      
        
          | bool data_capture_operation | 
         
       
   | 
  
extern   | 
  
 
 
◆ htim1
◆ huart3
  
  
      
        
          | UART_HandleTypeDef huart3 | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_convst_sar_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_convst_sar_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_dclk0_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_dclk0_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_dclk1_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_dclk1_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_dclk2_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_dclk2_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_drdy_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_drdy_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_error_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_error_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_mode0_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_mode0_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_mode1_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_mode1_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_mode2_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_mode2_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_mode3_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_mode3_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_reset_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_reset_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_gpio_sync_in_extra_init_params
  
  
      
        
          | struct stm32_gpio_init_param stm32_gpio_sync_in_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_i2c_extra_init_params
  
  
      
        
          | struct stm32_i2c_init_param stm32_i2c_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_pwm_extra_init_params
  
  
      
        
          | struct stm32_pwm_init_param stm32_pwm_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_spi_extra_init_params
  
  
      
        
          | struct stm32_spi_init_param stm32_spi_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_tdm_extra_init_params
  
  
      
        
          | struct stm32_tdm_init_param stm32_tdm_extra_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_trigger_gpio_irq_init_params
  
  
      
        
          | struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ stm32_uart_extra_init_params
  
  
      
        
          | struct stm32_uart_init_param stm32_uart_extra_init_params | 
         
       
   | 
  
extern   |