no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __PARAMETERS_H__
34#define __PARAMETERS_H__
35
36#include "stm32_gpio.h"
37#include "stm32_irq.h"
38#include "stm32_spi.h"
39#include "stm32_uart.h"
40#include "stm32_uart_stdio.h"
41
42extern UART_HandleTypeDef huart5;
43
44#define UART_IRQ_ID UART5_IRQn
45
46#define UART_DEVICE_ID 5
47#define UART_BAUDRATE 115200
48#define UART_EXTRA &adf4371_uart_extra_ip
49#define UART_OPS &stm32_uart_ops
50
51#define SPI_DEVICE_ID 5
52#define SPI_BAUDRATE 1000000
53#define SPI_CS 9
54#define SPI_CS_PORT 1
55#define SPI_OPS &stm32_spi_ops
56#define SPI_EXTRA &adf4371_spi_extra_ip
57
58#define GPIO_CE_PORT_NUM 9
59#define GPIO_CE_PIN_NUM 3
60#define GPIO_OPS &stm32_gpio_ops
61#define GPIO_EXTRA &adf4371_gpio_extra_ip
62
66
67#endif /* __PARAMETERS_H__ */
UART_HandleTypeDef huart5
struct stm32_spi_init_param adf4371_spi_extra_ip
Definition parameters.c:44
struct stm32_uart_init_param adf4371_uart_extra_ip
Definition parameters.c:35
struct stm32_gpio_init_param adf4371_gpio_extra_ip
Definition parameters.c:39
Header file for stm32 gpio specifics.
Header file for stm32 irq specifics.
Header file for the stm32 spi driver.
Header file of UART driver for STM32.
Header file of stm32 UART driver stdout/stdin redirection.
Structure holding the initialization parameters for stm32 platform.
Definition stm32_gpio.h:44
Structure holding the initialization parameters for stm32 platform specific SPI parameters.
Definition stm32_spi.h:51
Specific initialization parameters for stm32 UART.
Definition stm32_uart.h:46