no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef __PARAMETERS_H__
41 #define __PARAMETERS_H__
42 
43 /******************************************************************************/
44 /***************************** Include Files **********************************/
45 /******************************************************************************/
46 #include "stm32_hal.h"
47 #include "stm32_irq.h"
48 #include "stm32_gpio_irq.h"
49 #include "stm32_spi.h"
50 #include "stm32_gpio.h"
51 #include "stm32_uart.h"
52 #include "stm32_uart_stdio.h"
53 
54 /******************************************************************************/
55 /********************** Macros and Constants Definitions **********************/
56 /******************************************************************************/
57 extern UART_HandleTypeDef huart5;
58 
59 #define UART_IRQ_ID UART5_IRQn
60 
61 #define UART_DEVICE_ID 5
62 #define UART_BAUDRATE 115200
63 #define UART_EXTRA &ad74416h_uart_extra_ip
64 #define UART_OPS &stm32_uart_ops
65 
66 #define SPI_DEVICE_ID 1
67 #define SPI_BAUDRATE 10000000
68 #define SPI_CS 15
69 #define SPI_CS_PORT 0
70 #define SPI_OPS &stm32_spi_ops
71 #define SPI_EXTRA &ad74416h_spi_extra_ip
72 
75 
76 #endif /* __PARAMETERS_H__ */
stm32_spi_init_param
Structure holding the initialization parameters for stm32 platform specific SPI parameters.
Definition: stm32_spi.h:55
huart5
UART_HandleTypeDef huart5
stm32_spi.h
Header file for the stm32 spi driver.
stm32_uart_init_param
Specific initialization parameters for stm32 UART.
Definition: stm32_uart.h:52
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.
stm32_gpio.h
Header file for stm32 gpio specifics.
stm32_gpio_irq.h
Header file for stm32 gpio irq specifics.
ad74416h_spi_extra_ip
struct stm32_spi_init_param ad74416h_spi_extra_ip
Definition: parameters.c:52
stm32_hal.h
ad74416h_uart_extra_ip
struct mbed_uart_init_param ad74416h_uart_extra_ip
Definition: parameters.c:48