precision-converters-firmware
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
app_config_stm32.c File Reference

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

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

Functions

void stm32_system_init (void)
 Initialize the STM32 system peripherals.
 
int32_t check_escape_key_pressed ()
 Determines if the Escape key was pressed.
 

Variables

struct stm32_spi_init_param stm32_spi_extra_init_params
 
struct stm32_uart_init_param stm32_uart_extra_init_params
 

Detailed Description

STM32 Specific configuration files for AD7124 console Application.

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

◆ check_escape_key_pressed()

int32_t check_escape_key_pressed ( )

Determines if the Escape key was pressed.

Returns
key press status

◆ 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:52

◆ 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