no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __PARAMETERS_H__
34#define __PARAMETERS_H__
35
36#include "maxim_irq.h"
37#include "maxim_i2c.h"
38#include "maxim_gpio.h"
39#include "maxim_uart.h"
40#include "maxim_uart_stdio.h"
41
42#ifdef IIO_SUPPORT
43#define INTC_DEVICE_ID 0
44#endif
45
46#define UART_DEVICE_ID 1
47#define UART_IRQ_ID UART1_IRQn
48#define UART_BAUDRATE 115200
49#define UART_OPS &max_uart_ops
50#define UART_EXTRA &ltp8800_uart_extra
51
52#define I2C_DEVICE_ID 0
53#define I2C_OPS &max_i2c_ops
54#define I2C_EXTRA &ltp8800_i2c_extra
55
56#define CTRL_GPIO_PORT 0
57#define CTRL_GPIO_NUMBER 5
58#define CTRL_GPIO_OPS &max_gpio_ops
59#define CTRL_GPIO_EXTRA &ltp8800_gpio_extra
60
64
65#endif /* __PARAMETERS_H__ */
struct max_gpio_init_param ltp8800_gpio_extra
Definition parameters.c:43
struct max_uart_init_param ltp8800_uart_extra
Definition parameters.c:35
struct max_i2c_init_param ltp8800_i2c_extra
Definition parameters.c:39
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Definition maxim_i2c.h:58
Aditional UART config parameters.
Definition maxim_uart.h:55