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

Header file for STM32 platform configurations. More...

#include "stm32_uart.h"
#include "stm32_spi.h"
#include "stm32_i2c.h"
#include "stm32_gpio.h"
#include "stm32_gpio_irq.h"
#include "main.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   SDP-K1
 
#define MAX_SPI_BAUDRATE   10000000
 
#define SPI_DEVICE_ID   1
 
#define SPI_CS_PORT   0
 
#define SPI_CSB   15
 
#define APP_UART_HANDLE   &huart5
 
#define UART_IRQ_ID   UART5_IRQn
 
#define I2C_DEVICE_ID   1
 
#define I2C_TIMING   0
 
#define RDY_PORT   6
 
#define RDY_PIN   11
 
#define SYNC_PORT   6
 
#define SYNC_PIN   9
 
#define RDY_GPIO_PRIORITY   1
 

Functions

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

Variables

I2C_HandleTypeDef hi2c1
 
SPI_HandleTypeDef hspi1
 
struct stm32_uart_init_param stm32_uart_extra_init_params
 
struct stm32_spi_init_param stm32_spi_extra_init_params
 
struct stm32_i2c_init_param stm32_i2c_extra_init_params
 
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params
 
struct stm32_gpio_init_param stm32_gpio_sync_extra_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

◆ HW_CARRIER_NAME

#define HW_CARRIER_NAME   SDP-K1

◆ I2C_DEVICE_ID

#define I2C_DEVICE_ID   1

◆ I2C_TIMING

#define I2C_TIMING   0

◆ MAX_SPI_BAUDRATE

#define MAX_SPI_BAUDRATE   10000000

◆ RDY_GPIO_PRIORITY

#define RDY_GPIO_PRIORITY   1

◆ RDY_PIN

#define RDY_PIN   11

◆ RDY_PORT

#define RDY_PORT   6

◆ SPI_CS_PORT

#define SPI_CS_PORT   0

◆ SPI_CSB

#define SPI_CSB   15

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   1

◆ SYNC_PIN

#define SYNC_PIN   9

◆ SYNC_PORT

#define SYNC_PORT   6

◆ UART_IRQ_ID

#define UART_IRQ_ID   UART5_IRQn

Function Documentation

◆ stm32_system_init()

void stm32_system_init ( void  )

Initialize the STM32 system peripherals.

Returns
None

Variable Documentation

◆ hi2c1

I2C_HandleTypeDef hi2c1
extern

◆ hspi1

SPI_HandleTypeDef hspi1
extern

◆ huart5

UART_HandleTypeDef huart5
extern

◆ stm32_gpio_sync_extra_init_params

struct stm32_gpio_init_param stm32_gpio_sync_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_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