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 
58 extern UART_HandleTypeDef huart3;
59 #define UART_INSTANCE (&huart3)
60 #define SPI_DEVICE_ID 1
61 #define SPI_CS 14
62 #define SPI_CS_PORT 3
63 
64 #define UART_IRQ_ID USART3_IRQn
65 #define UART_DEVICE_ID 1
66 #define UART_BAUDRATE 115200
67 #define UART_EXTRA &adxl38x_uart_extra_ip
68 #define UART_OPS &stm32_uart_ops
69 
70 #define SPI_BAUDRATE 8000000
71 #define SPI_OPS &stm32_spi_ops
72 #define SPI_EXTRA &adxl38x_spi_extra_ip
73 
76 
77 #endif /* __PARAMETERS_H__ */
stm32_spi_init_param
Structure holding the initialization parameters for stm32 platform specific SPI parameters.
Definition: stm32_spi.h:57
stm32_spi.h
Header file for the stm32 spi driver.
adxl38x_uart_extra_ip
struct max_uart_init_param adxl38x_uart_extra_ip
Definition: parameters.c:48
adxl38x_spi_extra_ip
struct max_spi_init_param adxl38x_spi_extra_ip
Definition: parameters.c:52
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.
huart3
UART_HandleTypeDef huart3
stm32_gpio.h
Header file for stm32 gpio specifics.
stm32_gpio_irq.h
Header file for stm32 gpio irq specifics.
stm32_hal.h