13#ifndef APP_CONFIG_STM32_H_
14#define APP_CONFIG_STM32_H_
21#include "stm32_uart.h"
24#include "stm32_gpio.h"
27#include "stm32_gpio_irq.h"
38#define HW_CARRIER_NAME SDP_K1
41#define APP_UART_HANDLE huart5
42#define UART_IRQ_ID UART5_IRQn
44#define APP_UART_USB_HANDLE hUsbDeviceHS
47#define I2C_DEVICE_ID 1
70#define TRIGGER_GPIO_PORT 3
74#define SPI_DEVICE_ID 1
81#define trigger_gpio_handle 0
84#define RDY_GPIO_PRIORITY 1
92#define SAMPLING_RATE (20000)
97#define PWM_CLK_DIVIDER 2
98#define PWM_PRESCALER 3
99#define PWM_HANDLE htim4
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
#define APP_UART_USB_HANDLE
Definition app_config_stm32.h:44
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_gpio_init_param stm32_pwm_gpio_extra_init_params
Definition app_config_stm32.c:180
struct stm32_uart_init_param stm32_uart_extra_init_params
Definition app_config_stm32.c:102
#define APP_UART_HANDLE
Definition app_config_stm32.h:131
struct stm32_spi_init_param stm32_spi_extra_init_params
Definition app_config_stm32.c:46
struct stm32_gpio_init_param stm32_trigger_gpio_extra_init_params
Definition app_config_stm32.c:58
struct stm32_pwm_init_param stm32_pwm_extra_init_params
Definition app_config_stm32.c:76
struct stm32_gpio_init_param stm32_reset_gpio_extra_init_params
Definition app_config_stm32.c:112
struct stm32_gpio_init_param stm32_osr1_gpio_extra_init_params
Definition app_config_stm32.c:69
struct stm32_gpio_init_param stm32_busy_gpio_extra_init_params
Definition app_config_stm32.c:57
struct stm32_gpio_init_param stm32_stdby_gpio_extra_init_params
Definition app_config_stm32.c:81
struct stm32_gpio_init_param stm32_range_gpio_extra_init_params
Definition app_config_stm32.c:87
struct stm32_gpio_init_param stm32_osr2_gpio_extra_init_params
Definition app_config_stm32.c:75
struct stm32_gpio_init_param stm32_convst_gpio_extra_init_params
Definition app_config_stm32.c:93
#define PWM_HANDLE
Definition app_config_stm32.h:99
struct stm32_gpio_init_param stm32_osr0_gpio_extra_init_params
Definition app_config_stm32.c:63
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