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_spi.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_IRQ_ID UART1_IRQn
53 #define UART_DEVICE_ID 1
54 #define UART_BAUDRATE 57600
55 #define UART_EXTRA &lt8722_uart_extra
56 #define UART_OPS &max_uart_ops
57 
58 #define SPI_DEVICE_ID 1
59 #define SPI_CS 0
60 #define SPI_BAUDRATE 100000
61 #define SPI_OPS &max_spi_ops
62 #define SPI_EXTRA &lt8722_spi_extra
63 
64 #define GPIO_SWEN_PORT_NUM 0
65 #define GPIO_SWEN_PIN_NUM 21
66 
67 #define GPIO_EN_PORT_NUM 0
68 #define GPIO_EN_PIN_NUM 20
69 
70 #define GPIO_OPS &max_gpio_ops
71 #define GPIO_EXTRA &lt8722_gpio_extra
72 
76 
77 #endif /* __PARAMETERS_H__ */
lt8722_spi_extra
struct max_spi_init_param lt8722_spi_extra
Definition: parameters.c:45
max_spi_init_param
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:59
lt8722_uart_extra
struct max_uart_init_param lt8722_uart_extra
Definition: parameters.c:41
max_uart_init_param
Aditional UART config parameters.
Definition: maxim_uart.h:61
max_gpio_init_param
GPIO platform specific init parameters.
Definition: maxim_gpio.h:61
lt8722_gpio_extra
struct max_gpio_init_param lt8722_gpio_extra
Definition: parameters.c:51