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"
51 #include "maxim_timer.h"
59 #define INTC_DEVICE_ID 0
62 #define UART_DEVICE_ID 0
63 #define UART_IRQ_ID UART0_IRQn
64 #define UART_BAUDRATE 115200
65 #define UART_EXTRA &ad7091r8_uart_extra_ip
66 #define UART_OPS &max_uart_ops
67 #define INTC_DEVICE_ID 0
68 #define SPI_DEVICE_ID 1
70 #define SPI_BAUDRATE 200000
71 #define SPI_OPS &max_spi_ops
72 #define SPI_EXTRA &ad7091r8_spi_extra_ip
74 #define GPIO_OPS &max_gpio_ops
75 #define GPIO_EXTRA &ad7091r8_gpio_extra_ip
76 #define GPIO_RESET_PIN_NUM 19
77 #define GPIO_RESET_PORT_NUM 0
78 #define GPIO_RESET_INIT &ad7091r8_gpio_reset_ip
79 #define GPIO_CONVST_PIN_NUM 6
80 #define GPIO_CONVST_PORT_NUM 1
81 #define GPIO_CONVST_INIT &ad7091r8_gpio_convst_ip
84 #ifdef IIO_TIMER_TRIGGER_EXAMPLE
86 #define AD7091R8_TIMER_DEVICE_ID 0
87 #define AD7091R8_TIMER_FREQ_HZ 1000000
88 #define AD7091R8_TIMER_TICKS_COUNT 2000
89 #define AD7091R8_TIMER_EXTRA NULL
90 #define TIMER_OPS &max_timer_ops
93 #define AD7091R8_TIMER_IRQ_ID TMR0_IRQn
94 #define TIMER_IRQ_OPS &max_irq_ops
95 #define AD7091R8_TIMER_IRQ_EXTRA NULL
98 #define AD7091R8_TIMER_CB_HANDLE MXC_TMR0
99 #define AD7091R8_TIMER_TRIG_IRQ_ID TMR0_IRQn
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
Timer control module header.
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:59
Aditional UART config parameters.
Definition: maxim_uart.h:61
GPIO platform specific init parameters.
Definition: maxim_gpio.h:61