no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
36
37#include <xparameters.h>
38#include <xil_cache.h>
39#include <xilinx_uart.h>
40
41#ifdef _XPARAMETERS_PS_H_
42#define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
43
44#ifdef XPS_BOARD_ZCU102
45#define UART_IRQ_ID XPAR_XUARTPS_0_INTR
46#else
47#define UART_IRQ_ID XPAR_XUARTPS_1_INTR
48#endif
49
50#else // _XPARAMETERS_PS_H_
51#define UART_DEVICE_ID XPAR_AXI_UART_DEVICE_ID
52#define UART_IRQ_ID XPAR_AXI_INTC_AXI_UART_INTERRUPT_INTR
53#endif // _XPARAMETERS_PS_H_
54
55#define UART_EXTRA &iio_demo_uart_extra_ip
56#define UART_OPS &xil_uart_ops
57
59
60/* This value can be modified based on the number
61of samples needed to be stored in the device buffer
62and based on the available RAM memory of the platform */
63#define SAMPLES_PER_CHANNEL_PLATFORM 2000
64#define UART_BAUDRATE 115200
65
66#endif /* __PARAMETERS_H__ */
struct max_uart_init_param iio_demo_uart_extra_ip
Definition parameters.c:36
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition xilinx_uart.h:56