Go to the documentation of this file.
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
44 #include "common_data.h"
47 #if defined NO_OS_USB_UART
59 #define SAMPLES_PER_CHANNEL_PLATFORM 2000
61 #if defined NO_OS_USB_UART
62 #define UART_EXTRA &iio_demo_usb_uart_extra_ip
63 #define UART_OPS &stm32_usb_uart_ops
65 #define UART_EXTRA &iio_demo_uart_extra_ip
66 #define UART_OPS &stm32_uart_ops
69 extern UART_HandleTypeDef
huart5;
70 #define UART_IRQ_ID UART5_IRQn
71 #define INTC_DEVICE_ID 0
72 #define IIO_APP_HUART (&huart5)
73 #define UART_DEVICE_ID 5
74 #define UART_BAUDRATE 115200
76 #if defined NO_OS_USB_UART
78 #if defined(STM32F413xx) || defined(STM32H743xx)
79 extern USBD_HandleTypeDef hUsbDeviceFS;
80 #define IIO_APP_HUSBUART (&hUsbDeviceFS)
81 #elif defined(STM32F469xx)
82 extern USBD_HandleTypeDef hUsbDeviceHS;
83 #define IIO_APP_HUSBUART (&hUsbDeviceHS)
89 #ifdef IIO_TIMER_TRIGGER_EXAMPLE
92 #define ADC_DEMO_TIMER_DEVICE_ID 13
93 #define ADC_DEMO_TIMER_FREQ_HZ 1000000
94 #define ADC_DEMO_TIMER_TICKS_COUNT 2000
95 #define ADC_DEMO_TIMER_EXTRA &adc_demo_xtip
96 #define TIMER_OPS &stm32_timer_ops
99 extern TIM_HandleTypeDef htim13;
100 #define ADC_DEMO_TIMER_IRQ_ID TIM8_UP_TIM13_IRQn
101 #define TIMER_IRQ_OPS &stm32_irq_ops
102 #define ADC_DEMO_TIMER_IRQ_EXTRA &htim13
105 #define ADC_DEMO_TIMER_CB_HANDLE &htim13
106 #define ADC_DEMO_TIMER_TRIG_IRQ_ID TIM8_UP_TIM13_IRQn
110 #define DAC_DEMO_TIMER_DEVICE_ID 14
111 #define DAC_DEMO_TIMER_FREQ_HZ 1000000
112 #define DAC_DEMO_TIMER_TICKS_COUNT 2000
113 #define DAC_DEMO_TIMER_EXTRA &dac_demo_xtip
114 #define TIMER_OPS &stm32_timer_ops
117 extern TIM_HandleTypeDef htim14;
118 #define DAC_DEMO_TIMER_IRQ_ID TIM8_TRG_COM_TIM14_IRQn
119 #define TIMER_IRQ_OPS &stm32_irq_ops
120 #define DAC_DEMO_TIMER_IRQ_EXTRA &htim14
123 #define DAC_DEMO_TIMER_CB_HANDLE &htim14
124 #define DAC_DEMO_TIMER_TRIG_IRQ_ID TIM8_TRG_COM_TIM14_IRQn
Header file for the stm32 timer driver.
UART over USB driver for stm32 as a no_os_uart implementation.
Structure holding the initialization parameters for stm32 platform specific timer parameters.
Definition: stm32_timer.h:45
Specific initialization parameters for stm32 UART.
Definition: stm32_uart.h:46
Header file of UART driver for STM32.
Header file of stm32 UART driver stdout/stdin redirection.
Header file for stm32 irq specifics.
Specific initialization parameters for stm32 UART over USB.
Definition: stm32_usb_uart.h:46
Header file of utility functions.