precision-converters-firmware
Macros | Functions | Variables
app_config_stm32.h File Reference

Header file for STM32 platform configurations. More...

#include <stdint.h>
#include "stm32_uart.h"
#include "stm32_spi.h"
#include "stm32_gpio.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 TARGET_NAME   SDP_K1
 
#define APP_UART_HANDLE   &huart5
 
#define UART_IRQ_ID   UART5_IRQn
 
#define SPI_DEVICE_ID   1
 
#define SPI_CSB   15
 
#define STM32_SPI_CS_PORT   0
 
#define UART_ID   0
 
#define spi_extra_init_params   stm32_spi_init_params
 
#define uart_extra_init_params   stm32_uart_init_params
 
#define gpio_ops   stm32_gpio_ops
 
#define spi_ops   stm32_spi_ops
 
#define uart_ops   stm32_uart_ops
 

Functions

void stm32_system_init (void)
 Initialize the STM32 system peripherals. More...
 

Variables

struct stm32_uart_init_param stm32_uart_init_params
 
struct stm32_spi_init_param stm32_spi_init_params
 
UART_HandleTypeDef huart5
 

Detailed Description

Header file for STM32 platform configurations.

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

Macro Definition Documentation

◆ APP_UART_HANDLE

#define APP_UART_HANDLE   &huart5

◆ gpio_ops

#define gpio_ops   stm32_gpio_ops

◆ SPI_CSB

#define SPI_CSB   15

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   1

◆ spi_extra_init_params

#define spi_extra_init_params   stm32_spi_init_params

◆ spi_ops

#define spi_ops   stm32_spi_ops

◆ STM32_SPI_CS_PORT

#define STM32_SPI_CS_PORT   0

◆ TARGET_NAME

#define TARGET_NAME   SDP_K1

◆ uart_extra_init_params

#define uart_extra_init_params   stm32_uart_init_params

◆ UART_ID

#define UART_ID   0

◆ UART_IRQ_ID

#define UART_IRQ_ID   UART5_IRQn

◆ uart_ops

#define uart_ops   stm32_uart_ops

Function Documentation

◆ stm32_system_init()

void stm32_system_init ( void  )

Initialize the STM32 system peripherals.

Returns
None
Here is the caller graph for this function:

Variable Documentation

◆ huart5

UART_HandleTypeDef huart5
extern

◆ stm32_spi_init_params

struct stm32_spi_init_param stm32_spi_init_params
extern

◆ stm32_uart_init_params

struct stm32_uart_init_param stm32_uart_init_params
extern