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#ifdef IIO_SUPPORT
45#define INTC_DEVICE_ID 0
46#define IIO_APP_HUART (&huart5)
47#endif
48#define UART_IRQ_ID UART5_IRQn
49
50#define UART_DEVICE_ID 5
51#define UART_BAUDRATE 115200
52#define UART_EXTRA &adf4371_uart_extra_ip
53#define UART_OPS &stm32_uart_ops
54
55#define SPI_DEVICE_ID 5
56#define SPI_BAUDRATE 1000000
57#define SPI_CS 9
58#define SPI_CS_PORT 1
59#define SPI_OPS &stm32_spi_ops
60#define SPI_EXTRA &adf4371_spi_extra_ip
61
62#define GPIO_CE_PORT_NUM 9
63#define GPIO_CE_PIN_NUM 3
64#define GPIO_OPS &stm32_gpio_ops
65#define GPIO_EXTRA &adf4371_gpio_extra_ip
66
70
71#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