Go to the documentation of this file.
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
40 #include "maxim_irq.h"
41 #include "maxim_uart.h"
42 #include "maxim_uart_stdio.h"
43 #include "maxim_timer.h"
44 #include "common_data.h"
48 #include "maxim_usb_uart.h"
54 #define MAX_SIZE_BASE_ADDR (SAMPLES_PER_CHANNEL * DEMO_CHANNELS * \
57 #define SAMPLES_PER_CHANNEL_PLATFORM 2000
64 #define INTC_DEVICE_ID 0
65 #define UART_DEVICE_ID 0
66 #define UART_BAUDRATE 57600
68 #define UART_IRQ_ID USB_IRQn
69 #define UART_EXTRA &iio_demo_usb_uart_extra_ip
70 #define UART_OPS &max_usb_uart_ops
72 #define UART_IRQ_ID UART0_IRQn
73 #define UART_EXTRA &iio_demo_uart_extra_ip
74 #define UART_OPS &max_uart_ops
77 #ifdef IIO_TIMER_TRIGGER_EXAMPLE
79 #define ADC_DEMO_TIMER_DEVICE_ID 0
80 #define ADC_DEMO_TIMER_FREQ_HZ 1000000
81 #define ADC_DEMO_TIMER_TICKS_COUNT 2000
82 #define ADC_DEMO_TIMER_EXTRA NULL
83 #define TIMER_OPS &max_timer_ops
86 #define ADC_DEMO_TIMER_IRQ_ID TMR0_IRQn
87 #define TIMER_IRQ_OPS &max_irq_ops
88 #define ADC_DEMO_TIMER_IRQ_EXTRA NULL
91 #define ADC_DEMO_TIMER_CB_HANDLE MXC_TMR0
92 #define ADC_DEMO_TIMER_TRIG_IRQ_ID TMR0_IRQn
95 #define DAC_DEMO_TIMER_DEVICE_ID 1
96 #define DAC_DEMO_TIMER_FREQ_HZ 1000000
97 #define DAC_DEMO_TIMER_TICKS_COUNT 2000
98 #define DAC_DEMO_TIMER_EXTRA NULL
99 #define TIMER_OPS &max_timer_ops
102 #define DAC_DEMO_TIMER_IRQ_ID TMR1_IRQn
103 #define TIMER_IRQ_OPS &max_irq_ops
104 #define DAC_DEMO_TIMER_IRQ_EXTRA NULL
107 #define DAC_DEMO_TIMER_CB_HANDLE MXC_TMR1
108 #define DAC_DEMO_TIMER_TRIG_IRQ_ID TMR1_IRQn
Timer control module header.
Aditional UART config parameters.
Definition: maxim_uart.h:55
Aditional UART config parameters.
Definition: maxim_usb_uart.h:42
Header file of utility functions.