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_irq.h"
37#include "stm32_spi.h"
38#include "stm32_uart.h"
39#include "stm32_uart_stdio.h"
40#include "no_os_uart.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 &ad5460_uart_extra_ip
53#define UART_OPS &stm32_uart_ops
54
55#define SPI_DEVICE_ID 1
56#define SPI_BAUDRATE 1000000
57#define SPI_CS 15
58#define SPI_CS_PORT 0
59#define SPI_OPS &stm32_spi_ops
60#define SPI_EXTRA &ad5460_spi_extra
61
64
65#endif /* __PARAMETERS_H__ */
UART_HandleTypeDef huart5
struct stm32_spi_init_param ad5460_spi_extra
Definition parameters.c:40
struct stm32_uart_init_param ad5460_uart_extra_ip
Definition parameters.c:36
Header file of UART interface.
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 specific SPI parameters.
Definition stm32_spi.h:51
Specific initialization parameters for stm32 UART.
Definition stm32_uart.h:46