13#ifndef APP_CONFIG_STM32_H_
14#define APP_CONFIG_STM32_H_
21#include "stm32_uart.h"
24#include "stm32_gpio.h"
26#include "usb_device.h"
36#define HW_CARRIER_NAME SDP_K1
39#define APP_UART_HANDLE &huart5
40#define UART_IRQ_ID UART5_IRQn
45#define APP_UART_USB_HANDLE hUsbDeviceHS
46#define APP_UART_USB_IRQ OTG_HS_IRQn
49#define SPI_DEVICE_ID 1
51#define STM32_SPI_CS_PORT 0
54#define RESET_GPIO_PORT 6
55#define RESET_GPIO_PIN 11
57#define LRDAC_GPIO_PORT 6
58#define LRDAC_GPIO_PIN 9
63#define DIS_GPIO_PORT 6
66#define INDEP_GPIO_PORT 0
67#define INDEP_GPIO_PIN 11
70#define spi_extra_init_params stm32_spi_init_params
71#define uart_extra_init_params stm32_uart_init_params
72#define vcom_extra_init_params stm32_vcom_extra_init_params
73#define reset_gpio_extra_init_params stm32_reset_gpio_init_params
74#define wp_gpio_extra_init_params stm32_wp_gpio_init_params
75#define lrdac_gpio_extra_init_params stm32_lrdac_gpio_init_params
76#define dis_gpio_extra_init_params stm32_dis_gpio_init_params
77#define indep_gpio_extra_init_params stm32_indep_gpio_init_params
80#define irq_platform_ops stm32_gpio_irq_ops
81#define gpio_ops stm32_gpio_ops
82#define spi_ops stm32_spi_ops
83#define i2c_ops stm32_i2c_ops
84#define uart_ops stm32_uart_ops
85#define vcom_ops stm32_usb_uart_ops
100extern UART_HandleTypeDef
huart5;
101extern SPI_HandleTypeDef
hspi1;
UART_HandleTypeDef huart5
USBD_HandleTypeDef hUsbDeviceHS
struct stm32_spi_init_param stm32_spi_init_params
Definition app_config_stm32.c:48
void stm32_system_init(void)
Initialize the STM32 system peripherals.
Definition app_config_stm32.c:176
struct stm32_usb_uart_init_param stm32_vcom_extra_init_params
Definition app_config_stm32.c:38
struct stm32_gpio_irq_init_param stm32_trigger_gpio_irq_init_params
Definition app_config_stm32.c:43
struct stm32_uart_init_param stm32_uart_init_params
Definition app_config_stm32.c:33
void SystemClock_Config(void)
struct stm32_gpio_init_param stm32_reset_gpio_init_params
Definition app_config_stm32.c:45
struct stm32_gpio_init_param stm32_wp_gpio_init_params
Definition app_config_stm32.c:50
struct stm32_gpio_init_param stm32_dis_gpio_init_params
Definition app_config_stm32.c:60
struct stm32_gpio_init_param stm32_indep_gpio_init_params
Definition app_config_stm32.c:65
struct stm32_gpio_init_param stm32_lrdac_gpio_init_params
Definition app_config_stm32.c:55
Configuration file of nanodac firmware example program.
VCOM driver for stm32 as a no_os_uart implementation.
Specific initialization parameters for stm32 UART over USB.
Definition stm32_usb_uart.h:27