34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
39#include "maxim_gpio.h"
40#include "maxim_uart.h"
41#include "maxim_uart_stdio.h"
44#define UART_IRQ_ID UART0_IRQn
45#define UART_DEVICE_ID 0
46#define UART_BAUDRATE 57600
47#define UART_EXTRA &adxrs290_uart_extra_ip
48#define UART_OPS &max_uart_ops
51#define SPI_DEVICE_ID 0
52#define SPI_BAUDRATE 1000000
54#define SPI_OPS &max_spi_ops
55#define SPI_EXTRA &adxrs290_spi_extra_ip
57#define GPIO_OPS &max_gpio_ops
58#define GPIO_EXTRA &adxrs290_gpio_extra_ip
59#if (TARGET_NUM != 32655)
60#error PIN and PORT configuration have to be adapted for the used target.
62#define GPIO_SYNC_PIN_NUM 9
63#define GPIO_SYNC_PORT_NUM 1
71#if (TARGET_NUM != 32655)
72#error IIO_TRIGGER_EXAMPLE is currently supported only on max32655 targets.
77#define NVIC_GPIO_IRQ GPIO1_IRQn
80#define GPIO_IRQ_OPS &max_gpio_irq_ops
81#define GPIO_IRQ_EXTRA &adxrs290_gpio_extra_ip
83#define ADXRS290_GPIO_TRIG_IRQ_ID GPIO_SYNC_PIN_NUM
84#define ADXRS290_GPIO_CB_HANDLE MXC_GPIO_GET_GPIO(GPIO_SYNC_PORT_NUM)
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Maxim specific SPI initialization parameters.
Definition maxim_spi.h:53
Aditional UART config parameters.
Definition maxim_uart.h:55