34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
41#include "common_data.h"
44#if defined CONFIG_USB_UART_STM32
53#define SAMPLES_PER_CHANNEL_PLATFORM 2000
55#if defined CONFIG_USB_UART_STM32
56#define UART_EXTRA &iio_demo_usb_uart_extra_ip
57#define UART_OPS &stm32_usb_uart_ops
59#define UART_EXTRA &iio_demo_uart_extra_ip
60#define UART_OPS &stm32_uart_ops
63extern UART_HandleTypeDef
huart5;
64#define UART_IRQ_ID UART5_IRQn
65#define UART_INSTANCE (&huart5)
66#define UART_DEVICE_ID 5
67#define UART_BAUDRATE 115200
69#if defined CONFIG_USB_UART_STM32
71#if defined(STM32F413xx) || defined(STM32H743xx)
72extern USBD_HandleTypeDef hUsbDeviceFS;
73#define IIO_APP_HUSBUART (&hUsbDeviceFS)
74#elif defined(STM32F469xx)
75extern USBD_HandleTypeDef hUsbDeviceHS;
76#define IIO_APP_HUSBUART (&hUsbDeviceHS)
82#ifdef CONFIG_IIO_DEMO_IIO_TIMER_TRIGGER_EXAMPLE
85#define ADC_DEMO_TIMER_DEVICE_ID 13
86#define ADC_DEMO_TIMER_FREQ_HZ 1000000
87#define ADC_DEMO_TIMER_TICKS_COUNT 2000
88#define ADC_DEMO_TIMER_EXTRA &adc_demo_xtip
89#define TIMER_OPS &stm32_timer_ops
92extern TIM_HandleTypeDef htim13;
93#define ADC_DEMO_TIMER_IRQ_ID TIM8_UP_TIM13_IRQn
94#define TIMER_IRQ_OPS &stm32_irq_ops
95#define ADC_DEMO_TIMER_IRQ_EXTRA &htim13
98#define ADC_DEMO_TIMER_CB_HANDLE &htim13
99#define ADC_DEMO_TIMER_TRIG_IRQ_ID TIM8_UP_TIM13_IRQn
103#define DAC_DEMO_TIMER_DEVICE_ID 14
104#define DAC_DEMO_TIMER_FREQ_HZ 1000000
105#define DAC_DEMO_TIMER_TICKS_COUNT 2000
106#define DAC_DEMO_TIMER_EXTRA &dac_demo_xtip
107#define TIMER_OPS &stm32_timer_ops
110extern TIM_HandleTypeDef htim14;
111#define DAC_DEMO_TIMER_IRQ_ID TIM8_TRG_COM_TIM14_IRQn
112#define TIMER_IRQ_OPS &stm32_irq_ops
113#define DAC_DEMO_TIMER_IRQ_EXTRA &htim14
116#define DAC_DEMO_TIMER_CB_HANDLE &htim14
117#define DAC_DEMO_TIMER_TRIG_IRQ_ID TIM8_TRG_COM_TIM14_IRQn
Header file of utility functions.
Header file for stm32 irq specifics.
Header file for the stm32 timer driver.
Header file of UART driver for STM32.
Header file of stm32 UART driver stdout/stdin redirection.
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
Specific initialization parameters for stm32 UART over USB.
Definition stm32_usb_uart.h:46