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

STM32 Specific configuration files for AD7124 IIO Application. More...

#include "no_os_error.h"
#include "app_config_stm32.h"
Include dependency graph for app_config_stm32.c:

Functions

void stm32_system_init (void)
 Initialize the STM32 system peripherals.
 

Variables

struct stm32_uart_init_param stm32_uart_extra_init_params
 
struct stm32_spi_init_param stm32_spi_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_usb_uart_init_param stm32_vcom_extra_init_params
 

Detailed Description

STM32 Specific configuration files for AD7124 IIO Application.

This module contains the STM32 platform specific 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.

Function Documentation

◆ stm32_system_init()

void stm32_system_init ( void  )

Initialize the STM32 system peripherals.

Returns
None

Variable Documentation

◆ stm32_spi_extra_init_params

struct stm32_spi_init_param stm32_spi_extra_init_params
Initial value:
= {
.chip_select_port = SPI_CS_PORT,
.get_input_clock = HAL_RCC_GetPCLK2Freq
}
#define SPI_CS_PORT
Definition app_config_stm32.h:103

◆ stm32_trigger_gpio_extra_init_params

struct stm32_gpio_init_param stm32_trigger_gpio_extra_init_params
Initial value:
= {
.mode = GPIO_MODE_OUTPUT_PP,
.speed = GPIO_SPEED_FREQ_VERY_HIGH,
}

◆ stm32_trigger_gpio_irq_init_params

struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params
Initial value:
= {
.port_nb = CONV_MON_PORT,
}
#define CONV_MON_PORT
Definition app_config_stm32.h:56

◆ stm32_uart_extra_init_params

struct stm32_uart_init_param stm32_uart_extra_init_params
Initial value:
= {
.huart = APP_UART_HANDLE
}
#define APP_UART_HANDLE
Definition app_config_stm32.h:42

◆ stm32_vcom_extra_init_params

struct stm32_usb_uart_init_param stm32_vcom_extra_init_params
Initial value:
= {
.husbdevice = &APP_UART_USB_HANDLE
}
#define APP_UART_USB_HANDLE
Definition app_config_stm32.h:44