Go to the documentation of this file.
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
52 #ifdef IIO_LWIP_EXAMPLE
53 extern UART_HandleTypeDef huart1;
54 #define UART_INSTANCE (&huart1)
55 #define SPI_DEVICE_ID 3
59 extern UART_HandleTypeDef
huart5;
60 #define UART_INSTANCE (&huart5)
61 #define SPI_DEVICE_ID 1
67 #define INTC_DEVICE_ID 0
68 #define IIO_APP_HUART (&huart5)
70 #define UART_IRQ_ID UART5_IRQn
72 #define UART_DEVICE_ID 1
73 #define UART_BAUDRATE 115200
74 #define UART_EXTRA &adxl355_uart_extra_ip
75 #define UART_OPS &stm32_uart_ops
77 #define SPI_BAUDRATE 1000000
78 #define SPI_OPS &stm32_spi_ops
79 #define SPI_EXTRA &adxl355_spi_extra_ip
84 #ifdef IIO_TRIGGER_EXAMPLE
89 #define ADXL355_GPIO_TRIG_IRQ_ID 0
90 #define ADXL355_GPIO_CB_HANDLE NULL
93 #define GPIO_IRQ_OPS &stm32_gpio_irq_ops
94 #define GPIO_IRQ_EXTRA &adxl355_gpio_irq_extra_ip
97 #ifdef IIO_LWIP_EXAMPLE
98 #define ADIN1110_GPIO_RESET_PORT 2
99 #define ADIN1110_GPIO_RESET_PIN 7
100 #define ADIN1110_SPI_DEVICE_ID 2
101 #define ADIN1110_SPI_CS 12
102 #define ADIN1110_SPI_CS_PORT 1
103 #define ADIN1110_SPI_CLK_RATE 25000000
104 #define GPIO_OPS &stm32_gpio_ops
Structure holding the initialization parameters for stm32 platform specific SPI parameters.
Definition: stm32_spi.h:51
Structure holding the initialization parameters for stm32 platform specific GPIO IRQ parameters.
Definition: stm32_gpio_irq.h:44
Header file for the stm32 spi driver.
Structure holding the initialization parameters for stm32 platform.
Definition: stm32_gpio.h:44
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.
Header file for stm32 gpio specifics.
Header file for stm32 gpio irq specifics.