Go to the documentation of this file.
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
41 #include "maxim_gpio.h"
42 #include "maxim_i2c.h"
43 #include "maxim_irq.h"
44 #include "maxim_spi.h"
45 #include "maxim_timer.h"
46 #include "maxim_uart.h"
47 #include "maxim_uart_stdio.h"
48 #include "maxim_usb_uart.h"
54 #define INTC_DEVICE_ID 0
55 #define UART_DEVICE_ID 1
56 #define UART_BAUDRATE 115200
57 #define UART_IRQ_ID USB_IRQn
58 #define UART_OPS &max_usb_uart_ops
60 #if defined(PQM_CONN_USB)
61 #define UART_EXTRA &iio_demo_usb_uart_extra_ip
62 #elif defined(PQM_CONN_SERIAL)
63 #define UART_EXTRA &uart_stdio_extra_ip
64 #elif defined(PQM_CONN_T1L)
65 #define UART_EXTRA &uart_stdio_extra_ip
66 #define ADIN_SPI_EXTRA &spi_extra_ip
70 #define SPI_DEVICE_ID 2
71 #define SPI_BAUDRATE 15000000
72 #define SPI_OPS &max_spi_ops
74 #define I2C_EXTRA &vddioh_i2c_extra
75 #define SPI_PQM_DEVICE_ID 1
76 #define SPI_PQM_BAUDRATE 6000000
77 #define SPI_PQM_EXTRA &spi_extra_ip
78 #define UART_STDIO_EXT &uart_stdio_extra_ip
80 #define TIMER_DEVICE_ID 0
81 #define TIMER_FREQUENCY 1000
82 #define TIMER_TICK_PERIOD 16384
83 #define TIMER_OPS &max_timer_ops
84 #define TIMER_IRQ_ID TMR0_IRQn
85 #define TIMER_IRQ_OPS &max_irq_ops
86 #define TIMER_IRQ_EXTRA NULL
87 #define TIMER_CB_HANDLE MXC_TMR0
88 #define TIMER_TRIG_IRQ_ID TMR0_IRQn
90 #define RESET_GPIO_PIN_NUM 27
91 #define RESET_GPIO_PORT_NUM 1
92 #define GPIO_OPS &max_gpio_ops
93 #define RESET_GPIO_EXTRA &max_reset_gpio_extra_ip
94 #define GPIO_EXTRA &max_reset_gpio_extra_ip
96 #define INTR_GPIO_PIN_NUM 30
97 #define INTR_GPIO_PORT_NUM 0
98 #define INTR_GPIO_EXTRA &max_reset_gpio_extra_ip
99 #define INTR_GPIO_IRQ_ID 0
100 #define INTR_OPS &max_gpio_irq_ops
Definition: maxim_i2c.h:58
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:53
Aditional UART config parameters.
Definition: maxim_uart.h:55
GPIO platform specific init parameters.
Definition: maxim_gpio.h:55
Aditional UART config parameters.
Definition: maxim_usb_uart.h:42