no-OS
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_spi.h"
38 #include "maxim_gpio.h"
39 #include "maxim_i2c.h"
40 #include "maxim_timer.h"
41 #include "maxim_uart.h"
42 #include "maxim_uart_stdio.h"
43 
44 #ifdef IIO_SUPPORT
45 #define INTC_DEVICE_ID 0
46 #endif
47 #define UART_IRQ_ID UART0_IRQn
48 
49 #define UART_DEVICE_ID 0
50 #define UART_BAUDRATE 115200
51 #define UART_OPS &max_uart_ops
52 #define UART_EXTRA &adin1110_uart_extra_ip
53 
54 #define SPI_DEVICE_ID 2
55 #define SPI_BAUDRATE 15000000
56 #define SPI_CS 0
57 #define SPI_OPS &max_spi_ops
58 #define SPI_EXTRA &adin1110_spi_extra_ip
59 
60 #define I2C_EXTRA &vddioh_i2c_extra
61 #define GPIO_EXTRA &vddioh_gpio_extra
62 
67 
68 #define AD74413R_GPIO_TRIG_IRQ_ID 22
69 #define AD74413R_GPIO_CB_HANDLE NULL
70 
71 #define GPIO_IRQ_ID 1 /* Pin 0 */
72 #define GPIO_IRQ_OPS &max_gpio_irq_ops
73 #define GPIO_IRQ_EXTRA NULL
74 
75 #endif /* __PARAMETERS_H__ */
max_i2c_init_param
Definition: maxim_i2c.h:58
vddioh_gpio_extra
struct max_gpio_init_param vddioh_gpio_extra
Definition: parameters.c:47
max_spi_init_param
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:53
adin1110_spi_extra_ip
struct max_spi_init_param adin1110_spi_extra_ip
Definition: parameters.c:41
vddioh_i2c_extra
struct max_i2c_init_param vddioh_i2c_extra
Definition: parameters.c:44
adin1110_uart_extra_ip
struct max_uart_init_param adin1110_uart_extra_ip
Definition: parameters.c:36
max_uart_init_param
Aditional UART config parameters.
Definition: maxim_uart.h:55
max_gpio_init_param
GPIO platform specific init parameters.
Definition: maxim_gpio.h:55