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"
44#ifdef CONFIG_USB_UART_MAXIM
45#include "maxim_usb_uart.h"
48#define MAX_SIZE_BASE_ADDR (SAMPLES_PER_CHANNEL * DEMO_CHANNELS * \
51#define SAMPLES_PER_CHANNEL_PLATFORM 2000
54#ifdef CONFIG_USB_UART_MAXIM
58#define UART_DEVICE_ID 0
59#define UART_BAUDRATE 57600
60#ifdef CONFIG_USB_UART_MAXIM
61#define UART_IRQ_ID USB_IRQn
62#define UART_EXTRA &iio_demo_usb_uart_extra_ip
63#define UART_OPS &max_usb_uart_ops
65#define UART_IRQ_ID UART0_IRQn
66#define UART_EXTRA &iio_demo_uart_extra_ip
67#define UART_OPS &max_uart_ops
70#ifdef CONFIG_IIO_DEMO_IIO_TIMER_TRIGGER_EXAMPLE
72#define ADC_DEMO_TIMER_DEVICE_ID 0
73#define ADC_DEMO_TIMER_FREQ_HZ 1000000
74#define ADC_DEMO_TIMER_TICKS_COUNT 2000
75#define ADC_DEMO_TIMER_EXTRA NULL
76#define TIMER_OPS &max_timer_ops
79#define ADC_DEMO_TIMER_IRQ_ID TMR0_IRQn
80#define TIMER_IRQ_OPS &max_irq_ops
81#define ADC_DEMO_TIMER_IRQ_EXTRA NULL
84#define ADC_DEMO_TIMER_CB_HANDLE MXC_TMR0
85#define ADC_DEMO_TIMER_TRIG_IRQ_ID TMR0_IRQn
88#define DAC_DEMO_TIMER_DEVICE_ID 1
89#define DAC_DEMO_TIMER_FREQ_HZ 1000000
90#define DAC_DEMO_TIMER_TICKS_COUNT 2000
91#define DAC_DEMO_TIMER_EXTRA NULL
92#define TIMER_OPS &max_timer_ops
95#define DAC_DEMO_TIMER_IRQ_ID TMR1_IRQn
96#define TIMER_IRQ_OPS &max_irq_ops
97#define DAC_DEMO_TIMER_IRQ_EXTRA NULL
100#define DAC_DEMO_TIMER_CB_HANDLE MXC_TMR1
101#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