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

Header file for STM32 platform configurations. More...

#include <stdint.h>
#include "stm32_i2c.h"
#include "stm32_irq.h"
#include "stm32_gpio_irq.h"
#include "stm32_spi.h"
#include "stm32_gpio.h"
#include "stm32_uart.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 FS_CONFIG_VALUE   1
 
#define HW_CARRIER_NAME   DISCO-F769NI
 
#define SPI_DEVICE_ID   2
 
#define SPI_CS_PORT_NUM   0
 
#define SPI_CSB   11
 
#define APP_UART_HANDLE   huart6
 
#define UART_IRQ   USART6_IRQn
 
#define UART_MODULE   6
 
#define CNV_PORT_NUM   9
 
#define CNV_PIN_NUM   1
 
#define I2C_DEVICE_ID   1
 
#define I2C_TIMING   0x40912732
 
#define LVGL_TICK_TIME_US   5000
 
#define LVGL_TICK_TIME_MS   (LVGL_TICK_TIME_US / 1000)
 

Functions

void stm32_system_init (void)
 Initialize the STM32 system peripherals.
 

Variables

UART_HandleTypeDef APP_UART_HANDLE
 
struct stm32_usb_uart_init_param stm32_vcom_extra_init_params
 
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params
 
struct stm32_gpio_init_param stm32_trigger_gpio_extra_init_params
 
struct stm32_uart_init_param stm32_uart_extra_init_params
 
struct stm32_spi_init_param stm32_spi_extra_init_params
 

Detailed Description

Header file for STM32 platform configurations.

Copyright (c) 2025 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

◆ APP_UART_HANDLE

#define APP_UART_HANDLE   huart6

◆ CNV_PIN_NUM

#define CNV_PIN_NUM   1

◆ CNV_PORT_NUM

#define CNV_PORT_NUM   9

◆ FS_CONFIG_VALUE

#define FS_CONFIG_VALUE   1

◆ HW_CARRIER_NAME

#define HW_CARRIER_NAME   DISCO-F769NI

◆ I2C_DEVICE_ID

#define I2C_DEVICE_ID   1

◆ 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_CS_PORT_NUM

#define SPI_CS_PORT_NUM   0

◆ SPI_CSB

#define SPI_CSB   11

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   2

◆ UART_IRQ

#define UART_IRQ   USART6_IRQn

◆ UART_MODULE

#define UART_MODULE   6

Function Documentation

◆ stm32_system_init()

void stm32_system_init ( void  )

Initialize the STM32 system peripherals.

Returns
None

Variable Documentation

◆ APP_UART_HANDLE

UART_HandleTypeDef APP_UART_HANDLE
extern

◆ stm32_spi_extra_init_params

struct stm32_spi_init_param stm32_spi_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

◆ stm32_vcom_extra_init_params

struct stm32_usb_uart_init_param stm32_vcom_extra_init_params
extern