34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
38#include "maxim_uart.h"
39#include "maxim_uart_stdio.h"
40#include "maxim_timer.h"
41#include "common_data.h"
45#include "maxim_usb_uart.h"
48#define MAX_SIZE_BASE_ADDR (SAMPLES_PER_CHANNEL * DEMO_CHANNELS * \
48#define MAX_SIZE_BASE_ADDR (SAMPLES_PER_CHANNEL * DEMO_CHANNELS * \ …
51#define SAMPLES_PER_CHANNEL_PLATFORM 2000
58#define INTC_DEVICE_ID 0
59#define UART_DEVICE_ID 0
60#define UART_BAUDRATE 57600
62#define UART_IRQ_ID USB_IRQn
63#define UART_EXTRA &iio_demo_usb_uart_extra_ip
64#define UART_OPS &max_usb_uart_ops
66#define UART_IRQ_ID UART0_IRQn
67#define UART_EXTRA &iio_demo_uart_extra_ip
68#define UART_OPS &max_uart_ops
71#ifdef IIO_TIMER_TRIGGER_EXAMPLE
73#define ADC_DEMO_TIMER_DEVICE_ID 0
74#define ADC_DEMO_TIMER_FREQ_HZ 1000000
75#define ADC_DEMO_TIMER_TICKS_COUNT 2000
76#define ADC_DEMO_TIMER_EXTRA NULL
77#define TIMER_OPS &max_timer_ops
80#define ADC_DEMO_TIMER_IRQ_ID TMR0_IRQn
81#define TIMER_IRQ_OPS &max_irq_ops
82#define ADC_DEMO_TIMER_IRQ_EXTRA NULL
85#define ADC_DEMO_TIMER_CB_HANDLE MXC_TMR0
86#define ADC_DEMO_TIMER_TRIG_IRQ_ID TMR0_IRQn
89#define DAC_DEMO_TIMER_DEVICE_ID 1
90#define DAC_DEMO_TIMER_FREQ_HZ 1000000
91#define DAC_DEMO_TIMER_TICKS_COUNT 2000
92#define DAC_DEMO_TIMER_EXTRA NULL
93#define TIMER_OPS &max_timer_ops
96#define DAC_DEMO_TIMER_IRQ_ID TMR1_IRQn
97#define TIMER_IRQ_OPS &max_irq_ops
98#define DAC_DEMO_TIMER_IRQ_EXTRA NULL
101#define DAC_DEMO_TIMER_CB_HANDLE MXC_TMR1
102#define DAC_DEMO_TIMER_TRIG_IRQ_ID TMR1_IRQn
Timer control module header.
Header file of utility functions.
Aditional UART config parameters.
Definition maxim_uart.h:55
Aditional UART config parameters.
Definition maxim_usb_uart.h:42