no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __PARAMETERS_H__
34 #define __PARAMETERS_H__
35 
36 #include "stm32_irq.h"
37 #include "stm32_spi.h"
38 #include "stm32_uart.h"
39 #include "stm32_uart_stdio.h"
40 
41 extern UART_HandleTypeDef huart5;
42 
43 #ifdef IIO_SUPPORT
44 #define INTC_DEVICE_ID 0
45 #define IIO_APP_HUART (&huart5)
46 #endif
47 #define UART_IRQ_ID UART5_IRQn
48 
49 #define UART_DEVICE_ID 5
50 #define UART_BAUDRATE 115200
51 #define UART_EXTRA &adf4382_uart_extra_ip
52 #define UART_OPS &stm32_uart_ops
53 
54 #define SPI_DEVICE_ID 5
55 #define SPI_BAUDRATE 4000000
56 #define SPI_CS 9
57 #define SPI_CS_PORT 1
58 #define SPI_OPS &stm32_spi_ops
59 #define SPI_EXTRA &adf4382_spi_extra_ip
60 
63 
64 #endif /* __PARAMETERS_H__ */
stm32_spi_init_param
Structure holding the initialization parameters for stm32 platform specific SPI parameters.
Definition: stm32_spi.h:51
stm32_spi.h
Header file for the stm32 spi driver.
adf4382_uart_extra_ip
struct mbed_uart_init_param adf4382_uart_extra_ip
Definition: parameters.c:36
stm32_uart_init_param
Specific initialization parameters for stm32 UART.
Definition: stm32_uart.h:46
stm32_uart.h
Header file of UART driver for STM32.
stm32_uart_stdio.h
Header file of stm32 UART driver stdout/stdin redirection.
stm32_irq.h
Header file for stm32 irq specifics.
adf4382_spi_extra_ip
struct stm32_spi_init_param adf4382_spi_extra_ip
Definition: parameters.c:46
huart5
UART_HandleTypeDef huart5