precision-converters-firmware
Loading...
Searching...
No Matches
Macros | Variables
app_config_stm32.h File Reference

Header file for STM32 platform configurations. More...

#include "main.h"
#include "stm32_spi.h"
#include "stm32_i2c.h"
#include "stm32_uart.h"
#include "stm32_gpio.h"
#include "app_config.h"
#include "stm32_tdm.h"
#include "stm32_gpio_irq.h"
#include "stm32_dma.h"
#include "stm32_pwm.h"
Include dependency graph for app_config_stm32.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HW_CARRIER_NAME   DISCO-F769NI
 
#define STM32_SPI_ID   2
 
#define STM32_SPI_CS_PORT   0
 
#define SPI_CSB   11
 
#define APP_UART_HANDLE   huart6
 
#define UART_IRQ_ID   USART6_IRQn
 
#define STM32_I2C_ID   1
 
#define I2C_TIMING   0x40912732
 
#define DIG_AUX_1   1
 
#define DIG_AUX_2   3
 
#define SYNC_INB   0
 
#define DIG_AUX_1_PORT   9
 
#define DIG_AUX_2_PORT   8
 
#define SYNC_INB_PORT   9
 
#define GPIO_TRIGGER_INT_PORT   DIG_AUX_1_PORT
 
#define LVGL_TICK_TIME_US   5000
 
#define LVGL_TICK_TIME_MS   (LVGL_TICK_TIME_US / 1000)
 
#define FS_SINC5_AVG_24_KSPS   20
 
#define FS_SINC5_512_KSPS   1
 
#define FS_SINC3_62P5_KSPS   4
 
#define FS_CONFIG_VALUE   FS_SINC5_AVG_24_KSPS
 
#define AD4170_MAX_SAMPLING_RATE   24000
 
#define TICKER_INTERRUPT_PERIOD_uSEC   (0)
 
#define AD4170_MAX_SPI_SPEED   20000000
 

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_init_param stm32_csb_gpio_extra_init_params
 
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params
 
struct stm32_tdm_init_param stm32_tdm_extra_init_params
 
struct stm32_i2c_init_param stm32_i2c_extra_init_params
 
UART_HandleTypeDef APP_UART_HANDLE
 
uint8_t num_of_active_channels
 

Detailed Description

Header file for STM32 platform configurations.

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.

Macro Definition Documentation

◆ AD4170_MAX_SAMPLING_RATE

#define AD4170_MAX_SAMPLING_RATE   24000

◆ AD4170_MAX_SPI_SPEED

#define AD4170_MAX_SPI_SPEED   20000000

◆ APP_UART_HANDLE

#define APP_UART_HANDLE   huart6

◆ DIG_AUX_1

#define DIG_AUX_1   1

◆ DIG_AUX_1_PORT

#define DIG_AUX_1_PORT   9

◆ DIG_AUX_2

#define DIG_AUX_2   3

◆ DIG_AUX_2_PORT

#define DIG_AUX_2_PORT   8

◆ FS_CONFIG_VALUE

#define FS_CONFIG_VALUE   FS_SINC5_AVG_24_KSPS

◆ FS_SINC3_62P5_KSPS

#define FS_SINC3_62P5_KSPS   4

◆ FS_SINC5_512_KSPS

#define FS_SINC5_512_KSPS   1

◆ FS_SINC5_AVG_24_KSPS

#define FS_SINC5_AVG_24_KSPS   20

◆ GPIO_TRIGGER_INT_PORT

#define GPIO_TRIGGER_INT_PORT   DIG_AUX_1_PORT

◆ HW_CARRIER_NAME

#define HW_CARRIER_NAME   DISCO-F769NI

◆ I2C_TIMING

#define I2C_TIMING   0x40912732

◆ LVGL_TICK_TIME_MS

#define LVGL_TICK_TIME_MS   (LVGL_TICK_TIME_US / 1000)

◆ LVGL_TICK_TIME_US

#define LVGL_TICK_TIME_US   5000

◆ SPI_CSB

#define SPI_CSB   11

◆ STM32_I2C_ID

#define STM32_I2C_ID   1

◆ STM32_SPI_CS_PORT

#define STM32_SPI_CS_PORT   0

◆ STM32_SPI_ID

#define STM32_SPI_ID   2

◆ SYNC_INB

#define SYNC_INB   0

◆ SYNC_INB_PORT

#define SYNC_INB_PORT   9

◆ TICKER_INTERRUPT_PERIOD_uSEC

#define TICKER_INTERRUPT_PERIOD_uSEC   (0)

◆ UART_IRQ_ID

#define UART_IRQ_ID   USART6_IRQn

Variable Documentation

◆ APP_UART_HANDLE

UART_HandleTypeDef APP_UART_HANDLE
extern

◆ num_of_active_channels

uint8_t num_of_active_channels
extern

◆ stm32_csb_gpio_extra_init_params

struct stm32_gpio_init_param stm32_csb_gpio_extra_init_params
extern

◆ stm32_dig_aux1_gpio_extra_init_params

struct stm32_gpio_init_param stm32_dig_aux1_gpio_extra_init_params
extern

◆ stm32_dig_aux2_gpio_extra_init_params

struct stm32_gpio_init_param stm32_dig_aux2_gpio_extra_init_params
extern

◆ stm32_i2c_extra_init_params

struct stm32_i2c_init_param stm32_i2c_extra_init_params
extern

◆ stm32_spi_extra_init_params

struct stm32_spi_init_param stm32_spi_extra_init_params
extern

◆ stm32_sync_inb_gpio_extra_init_params

struct stm32_gpio_init_param stm32_sync_inb_gpio_extra_init_params
extern

◆ stm32_tdm_extra_init_params

struct stm32_tdm_init_param stm32_tdm_extra_init_params
extern

◆ stm32_trigger_gpio_extra_init_params

struct stm32_gpio_init_param stm32_trigger_gpio_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