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 
   58#define GPIO_TRIGGER_INT_PORT   3  
   61#define SPI_DEVICE_ID       1  
   63#define STM32_SPI_CS_PORT   0   
   66#define TRIGGER_GPIO_IRQ_CTRL_ID          12  
   67#define TRIGGER_INT_ID       12  
   68#define trigger_gpio_handle  0 
   69#define LDAC_GPIO_PRIORITY   1 
   76#define MAX_SAMPLING_RATE                   (71428) 
   80#define LDAC_PWM_CHANNEL     1  
   81#define LDAC_PWM_CLK_DIVIDER 2  
   82#define LDAC_PWM_PRESCALER   3 
   83#define LDAC_PWM_HANDLE      htim4 
  100extern TIM_HandleTypeDef 
htim4;
 
  101extern UART_HandleTypeDef 
huart5;
 
UART_HandleTypeDef huart5
 
struct stm32_gpio_init_param stm32_gpio_ldac_init_params
Definition app_config_stm32.c:59
 
void stm32_system_init(void)
Initialize the STM32 system peripherals.
Definition app_config_stm32.c:176
 
struct stm32_gpio_init_param stm32_gpio_reset_init_params
Definition app_config_stm32.c:72
 
struct stm32_usb_uart_init_param stm32_vcom_extra_init_params
Definition app_config_stm32.c:38
 
struct stm32_gpio_init_param stm32_pwm_ldac_gpio_init_params
Definition app_config_stm32.c:65
 
#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_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_clear_gpio_init_params
Definition app_config_stm32.c:58
 
struct stm32_pwm_init_param stm32_pwm_extra_init_params
Definition app_config_stm32.c:76
 
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