no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
36
37#include "maxim_uart.h"
38#include "maxim_uart_stdio.h"
39#include "maxim_i2c.h"
40#include "maxim_irq.h"
41
42#if (TARGET_NUM == 32650) || (TARGET_NUM == 78000)
43#define I2C_DEVICE_ID 1
44#elif (TARGET_NUM == 32655)
45#define I2C_DEVICE_ID 2
46#elif (TARGET_NUM == 32665) || (TARGET_NUM == 32660) || (TARGET_NUM == 32690)
47#define I2C_DEVICE_ID 0
48#endif
49
50#define I2C_OPS &max_i2c_ops
51#define I2C_EXTRA &max_i2c_extra
52
53#if (TARGET_NUM == 32690)
54#define UART_IRQ_ID UART2_IRQn
55#define UART_DEVICE_ID 2
56#elif (TARGET_NUM == 32650) || (TARGET_NUM == 32655)
57#define UART_IRQ_ID UART0_IRQn
58#define UART_DEVICE_ID 0
59#else
60#define UART_IRQ_ID UART1_IRQn
61#define UART_DEVICE_ID 1
62#endif
63
64#define UART_BAUDRATE 57600
65#define UART_OPS &max_uart_ops
66#define UART_EXTRA &xuip
67
68#define MAX_DUT MAX5380M
69
70extern struct max_uart_init_param xuip;
72
73#endif /* __PARAMETERS_H__ */
struct max_uart_init_param xuip
Definition parameters.c:36
MAXIM specific I2C handler structure.
Definition maxim_i2c.h:47
Definition maxim_i2c.h:58
Aditional UART config parameters.
Definition maxim_uart.h:55