no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef __PARAMETERS_H__
40 #define __PARAMETERS_H__
41 
42 #include "maxim_irq.h"
43 #include "maxim_i2c.h"
44 #include "maxim_gpio.h"
45 #include "maxim_uart.h"
46 #include "maxim_uart_stdio.h"
47 
48 #ifdef IIO_SUPPORT
49 #define INTC_DEVICE_ID 0
50 #endif
51 
52 #define UART_DEVICE_ID 1
53 #define UART_IRQ_ID UART1_IRQn
54 #define UART_BAUDRATE 115200
55 #define UART_OPS &max_uart_ops
56 #define UART_EXTRA &lt7170_uart_extra
57 
58 #define I2C_DEVICE_ID 0
59 #define I2C_OPS &max_i2c_ops
60 #define I2C_EXTRA &lt7170_i2c_extra
61 
64 
65 #endif /* __PARAMETERS_H__ */
max_i2c_init_param
Definition: maxim_i2c.h:58
max_uart_init_param
Aditional UART config parameters.
Definition: maxim_uart.h:55
lt7170_i2c_extra
struct max_i2c_init_param lt7170_i2c_extra
Definition: parameters.c:45
lt7170_uart_extra
struct max_uart_init_param lt7170_uart_extra
Definition: parameters.c:41