13#ifndef APP_CONFIG_STM32_H_ 
   14#define APP_CONFIG_STM32_H_ 
   21#include "stm32_uart.h" 
   24#include "stm32_gpio.h" 
   25#include "stm32_uart_stdio.h" 
   36#define SPI_DEVICE_ID       1  
   41#define APP_UART_HANDLE     &huart5 
   42#define UART_IRQ_ID         UART5_IRQn 
   49#define MAX_SPI_CLK 5625000 
   52#define spi_ops stm32_spi_ops 
   53#define uart_ops stm32_uart_ops 
   54#define gpio_ops stm32_gpio_ops 
   61extern 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