13#ifndef APP_CONFIG_STM32_H_ 
   14#define APP_CONFIG_STM32_H_ 
   21#include "stm32_uart.h" 
   23#include "stm32_uart_stdio.h" 
   38#define SPI_DEVICE_ID       1  
   42#define SPI_DEVICE_ID       5  
   48#define APP_UART_HANDLE     &huart5 
   49#define UART_IRQ_ID         UART5_IRQn 
   52#define MAX_SPI_CLK 2500000 
   55#define spi_ops stm32_spi_ops 
   56#define uart_ops stm32_uart_ops 
   63extern UART_HandleTypeDef 
huart5;
 
UART_HandleTypeDef huart5
 
void stm32_system_init(void)
Initialize the STM32 system peripherals.
Definition app_config_stm32.c:176
 
struct stm32_uart_init_param stm32_uart_extra_init_params
Definition app_config_stm32.c:102
 
struct stm32_spi_init_param stm32_spi_extra_init_params
Definition app_config_stm32.c:46
 
struct no_os_uart_desc * uart_desc
Definition app_config.c:97
 
int32_t check_escape_key_pressed()
Determines if the Escape key was pressed.
Definition app_config_stm32.c:69