13#ifndef APP_CONFIG_STM32_H_ 
   14#define APP_CONFIG_STM32_H_ 
   20#include "stm32_uart.h" 
   23#include "stm32_gpio.h" 
   24#include "stm32_gpio_irq.h" 
   34#define HW_CARRIER_NAME     SDP-K1 
   37#define MAX_SPI_BAUDRATE 10000000 
   38#define SPI_DEVICE_ID       1  
   43#define APP_UART_HANDLE     &huart5 
   46#define UART_IRQ_ID         UART5_IRQn 
   49#define I2C_DEVICE_ID           1  
   62#define RDY_GPIO_PRIORITY 1 
   67extern I2C_HandleTypeDef 
hi2c1;
 
   68extern SPI_HandleTypeDef 
hspi1;
 
   74extern UART_HandleTypeDef 
huart5;
 
UART_HandleTypeDef huart5
 
void stm32_system_init(void)
Initialize the STM32 system peripherals.
Definition app_config_stm32.c:176
 
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params
Definition app_config_stm32.c:43
 
struct stm32_i2c_init_param stm32_i2c_extra_init_params
Definition app_config_stm32.c:152
 
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 stm32_gpio_init_param stm32_gpio_sync_extra_init_params
Definition app_config_stm32.c:46