no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
36 
37 /******************************************************************************/
38 /***************************** Include Files **********************************/
39 /******************************************************************************/
40 #include "stm32_hal.h"
41 #include "stm32_irq.h"
42 #include "stm32_gpio_irq.h"
43 #include "stm32_spi.h"
44 #include "stm32_gpio.h"
45 #include "stm32_uart.h"
46 #include "stm32_uart_stdio.h"
47 
48 /******************************************************************************/
49 /********************** Macros and Constants Definitions **********************/
50 /******************************************************************************/
51 
52 extern UART_HandleTypeDef huart3;
53 #define UART_INSTANCE (&huart3)
54 #define SPI_DEVICE_ID 1
55 #define SPI_CS 14
56 #define SPI_CS_PORT 3
57 
58 #define UART_IRQ_ID USART3_IRQn
59 #define UART_DEVICE_ID 1
60 #define UART_BAUDRATE 115200
61 #define UART_EXTRA &adxl38x_uart_extra_ip
62 #define UART_OPS &stm32_uart_ops
63 
64 #define SPI_BAUDRATE 8000000
65 #define SPI_OPS &stm32_spi_ops
66 #define SPI_EXTRA &adxl38x_spi_extra_ip
67 
70 
71 #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.
adxl38x_uart_extra_ip
struct max_uart_init_param adxl38x_uart_extra_ip
Definition: parameters.c:42
adxl38x_spi_extra_ip
struct max_spi_init_param adxl38x_spi_extra_ip
Definition: parameters.c:46
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.
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