Go to the documentation of this file.
40 #ifndef __PARAMETERS_H__
41 #define __PARAMETERS_H__
46 #include "maxim_irq.h"
47 #include "maxim_spi.h"
48 #include "maxim_gpio.h"
49 #include "maxim_uart.h"
50 #include "maxim_uart_stdio.h"
57 #define INTC_DEVICE_ID 0
58 #define UART_IRQ_ID UART0_IRQn
59 #define UART_DEVICE_ID 0
60 #define UART_BAUDRATE 57600
61 #define UART_EXTRA &adxrs290_uart_extra_ip
62 #define UART_OPS &max_uart_ops
65 #define SPI_DEVICE_ID 0
66 #define SPI_BAUDRATE 1000000
68 #define SPI_OPS &max_spi_ops
69 #define SPI_EXTRA &adxrs290_spi_extra_ip
71 #define GPIO_OPS &max_gpio_ops
72 #define GPIO_EXTRA &adxrs290_gpio_extra_ip
73 #if (TARGET_NUM != 32655)
74 #error PIN and PORT configuration have to be adapted for the used target.
76 #define GPIO_SYNC_PIN_NUM 9
77 #define GPIO_SYNC_PORT_NUM 1
85 #ifdef IIO_TRIGGER_EXAMPLE
86 #if (TARGET_NUM != 32655)
87 #error IIO_TRIGGER_EXAMPLE is currently supported only on max32655 targets.
92 #define NVIC_GPIO_IRQ GPIO1_IRQn
95 #define GPIO_IRQ_OPS &max_gpio_irq_ops
96 #define GPIO_IRQ_EXTRA &adxrs290_gpio_extra_ip
98 #define ADXRS290_GPIO_TRIG_IRQ_ID GPIO_SYNC_PIN_NUM
99 #define ADXRS290_GPIO_CB_HANDLE MXC_GPIO_GET_GPIO(GPIO_SYNC_PORT_NUM)
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:57
Aditional UART config parameters.
Definition: maxim_uart.h:61
GPIO platform specific init parameters.
Definition: maxim_gpio.h:61