Go to the documentation of this file.
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
40 #include "maxim_irq.h"
41 #include "maxim_spi.h"
42 #include "maxim_gpio.h"
43 #include "maxim_uart.h"
44 #include "maxim_uart_stdio.h"
45 #include "maxim_timer.h"
53 #define INTC_DEVICE_ID 0
56 #define UART_DEVICE_ID 0
57 #define UART_IRQ_ID UART0_IRQn
58 #define UART_BAUDRATE 115200
59 #define UART_EXTRA &ad7091r8_uart_extra_ip
60 #define UART_OPS &max_uart_ops
61 #define INTC_DEVICE_ID 0
62 #define SPI_DEVICE_ID 1
64 #define SPI_BAUDRATE 200000
65 #define SPI_OPS &max_spi_ops
66 #define SPI_EXTRA &ad7091r8_spi_extra_ip
68 #define GPIO_OPS &max_gpio_ops
69 #define GPIO_EXTRA &ad7091r8_gpio_extra_ip
70 #define GPIO_RESET_PIN_NUM 19
71 #define GPIO_RESET_PORT_NUM 0
72 #define GPIO_RESET_INIT &ad7091r8_gpio_reset_ip
73 #define GPIO_CONVST_PIN_NUM 6
74 #define GPIO_CONVST_PORT_NUM 1
75 #define GPIO_CONVST_INIT &ad7091r8_gpio_convst_ip
78 #ifdef IIO_TIMER_TRIGGER_EXAMPLE
80 #define AD7091R8_TIMER_DEVICE_ID 0
81 #define AD7091R8_TIMER_FREQ_HZ 1000000
82 #define AD7091R8_TIMER_TICKS_COUNT 2000
83 #define AD7091R8_TIMER_EXTRA NULL
84 #define TIMER_OPS &max_timer_ops
87 #define AD7091R8_TIMER_IRQ_ID TMR0_IRQn
88 #define TIMER_IRQ_OPS &max_irq_ops
89 #define AD7091R8_TIMER_IRQ_EXTRA NULL
92 #define AD7091R8_TIMER_CB_HANDLE MXC_TMR0
93 #define AD7091R8_TIMER_TRIG_IRQ_ID TMR0_IRQn
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
Timer control module header.
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