precision-converters-firmware
|
Header file for STM32 platform configurations. More...
#include "app_config.h"
#include "stm32_uart.h"
#include "stm32_spi.h"
#include "stm32_hal.h"
#include "stm32_tdm.h"
#include "stm32_gpio.h"
#include "stm32_i2c.h"
#include "stm32_gpio_irq.h"
Go to the source code of this file.
Macros | |
#define | STM32_SPI_ID 1 |
#define | SPI_CSB 14 |
#define | STM32_SPI_CS_PORT 3 |
#define | DCLK_PIN 14 |
#define | ODR_PIN 13 |
#define | DOUT0_PIN 14 |
#define | DOUT1_PIN 11 |
#define | PDN_PIN 6 |
#define | GPIO_TRIGGER_INT_PORT 4 |
#define | PDN_PORT 1 |
#define | STM32_UART_BASE 3 |
#define | STM32_SAI_BASE SAI1_Block_A |
#define | APP_UART_HANDLE &huart3 |
#define | TDM_DATA_SIZE 16 |
#define | TDM_SLOTS_PER_FRAME 4 |
#define | TDM_FS_ACTIVE_LENGTH 8 |
#define | TDM_N_SAMPLES_DMA_READ 800 |
#define | TDM_DMA_READ_SIZE TDM_N_SAMPLES_DMA_READ * TDM_SLOTS_PER_FRAME/2 |
#define | DCLK_PIN_MASK 0 |
#define | ODR_PIN_MASK 0 |
#define | DOUT0_PIN_MASK 0 |
#define | DOUT1_PIN_MASK 0 |
#define | DOUT1_IDR 0 |
#define | PORTD_IDR 0 |
#define | DCLK_IDR 0 |
#define | DOUT0_IDR 0 |
#define | UART_IRQ_ID USART3_IRQn |
#define | UART_DEVICE_ID 0 |
#define | SPI_DEVICE_ID STM32_SPI_ID |
#define | trigger_gpio_handle 0 |
#define | IRQ_INT_ID ODR_PIN |
#define | DMA_IRQ_ID GPDMA1_Channel7_IRQn |
#define | I2C_DEVICE_ID 1 |
#define | I2C_TIMING 0x00000E14 |
#define | SAMPLING_RATE (500000) |
Functions | |
void | SystemClock_Config (void) |
HAL_StatusTypeDef | HAL_Init (void) |
void | MX_LPUART1_UART_Init (void) |
void | MX_SPI1_Init (void) |
void | MX_ICACHE_Init (void) |
void | MX_GPIO_Init (void) |
void | ad7134_dma_rx_cplt (SAI_HandleTypeDef *hsai) |
SAI DMA Receive Complete Callback function. More... | |
void | ad7134_dma_rx_half_cplt (SAI_HandleTypeDef *hsai) |
SAI DMA Receive Half Complete Callback function. More... | |
Variables | |
struct stm32_uart_init_param | stm32_uart_extra_init_params |
struct stm32_spi_init_param | stm32_spi_extra_init_params |
struct stm32_tdm_init_param | stm32_tdm_extra_init_params |
struct stm32_gpio_irq_init_param | stm32_trigger_gpio_irq_init_params |
struct stm32_gpio_init_param | stm32_pdn_extra_init_params |
struct stm32_i2c_init_param | stm32_i2c_extra_init_params |
UART_HandleTypeDef | huart3 |
bool | data_capture_operation |
struct iio_device_data * | ad7134_iio_dev_data |
Header file for STM32 platform configurations.
Copyright (c) 2021,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.
#define APP_UART_HANDLE &huart3 |
#define DCLK_IDR 0 |
#define DCLK_PIN 14 |
#define DCLK_PIN_MASK 0 |
#define DMA_IRQ_ID GPDMA1_Channel7_IRQn |
#define DOUT0_IDR 0 |
#define DOUT0_PIN 14 |
#define DOUT0_PIN_MASK 0 |
#define DOUT1_IDR 0 |
#define DOUT1_PIN 11 |
#define DOUT1_PIN_MASK 0 |
#define GPIO_TRIGGER_INT_PORT 4 |
#define I2C_DEVICE_ID 1 |
#define I2C_TIMING 0x00000E14 |
#define IRQ_INT_ID ODR_PIN |
#define ODR_PIN 13 |
#define ODR_PIN_MASK 0 |
#define PDN_PIN 6 |
#define PDN_PORT 1 |
#define PORTD_IDR 0 |
#define SAMPLING_RATE (500000) |
#define SPI_CSB 14 |
#define SPI_DEVICE_ID STM32_SPI_ID |
#define STM32_SAI_BASE SAI1_Block_A |
#define STM32_SPI_CS_PORT 3 |
#define STM32_SPI_ID 1 |
#define STM32_UART_BASE 3 |
#define TDM_DATA_SIZE 16 |
#define TDM_DMA_READ_SIZE TDM_N_SAMPLES_DMA_READ * TDM_SLOTS_PER_FRAME/2 |
#define TDM_FS_ACTIVE_LENGTH 8 |
#define TDM_N_SAMPLES_DMA_READ 800 |
#define TDM_SLOTS_PER_FRAME 4 |
#define trigger_gpio_handle 0 |
#define UART_DEVICE_ID 0 |
#define UART_IRQ_ID USART3_IRQn |
void ad7134_dma_rx_cplt | ( | SAI_HandleTypeDef * | hsai | ) |
SAI DMA Receive Complete Callback function.
hsai | - pointer to a SAI_HandleTypeDef structure |
void ad7134_dma_rx_half_cplt | ( | SAI_HandleTypeDef * | hsai | ) |
SAI DMA Receive Half Complete Callback function.
hsai | - pointer to a SAI_HandleTypeDef structure |
HAL_StatusTypeDef HAL_Init | ( | void | ) |
void MX_GPIO_Init | ( | void | ) |
void MX_ICACHE_Init | ( | void | ) |
void MX_LPUART1_UART_Init | ( | void | ) |
void MX_SPI1_Init | ( | void | ) |
void SystemClock_Config | ( | void | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |