no-OS
common_data.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __COMMON_DATA_H__
34 #define __COMMON_DATA_H__
35 
36 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 #include "platform_includes.h"
40 #include "adxl355.h"
41 #ifdef IIO_SUPPORT
42 #include "iio_adxl355.h"
43 #ifdef IIO_TRIGGER_EXAMPLE
44 #include "iio_trigger.h"
45 #endif
46 #ifdef IIO_LWIP_EXAMPLE
47 #include "adin1110.h"
48 #endif
49 #endif
50 
51 /******************************************************************************/
52 /********************** Macros and Constants Definitions **********************/
53 /******************************************************************************/
56 extern struct adxl355_init_param adxl355_ip;
57 
58 #ifdef IIO_TRIGGER_EXAMPLE
59 #define ADXL355_GPIO_TRIG_NAME "adxl355-dev0"
60 
61 extern struct iio_hw_trig_init_param adxl355_gpio_trig_ip;
62 extern struct no_os_irq_init_param adxl355_gpio_irq_ip;
63 #endif
64 
65 #ifdef IIO_LWIP_EXAMPLE
66 extern uint8_t adin1110_mac_address[6];
67 extern struct adin1110_init_param adin1110_ip;
68 #endif
69 
70 #endif /* __COMMON_DATA_H__ */
adxl355_init_param
Structure holding the parameters for ADXL355 device initialization.
Definition: adxl355.h:226
iio_trigger.h
Header file for iio_trigger.
adxl355_ip
struct adxl355_init_param adxl355_ip
Definition: common_data.c:84
adin1110_init_param
Initialization parameter for the device descriptor.
Definition: adin1110.h:211
adxl355.h
Header file of ADXL355 Driver.
adin1110.h
iio_adxl355.h
Header file of IIO ADXL355 Driver.
adxl355_uart_ip
struct no_os_uart_init_param adxl355_uart_ip
Definition: common_data.c:42
iio_hw_trig_init_param
IIO hardware trigger initialization structure.
Definition: iio_trigger.h:86
no_os_uart_init_param
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
no_os_irq_init_param
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:107
adxl355_spi_ip
struct no_os_spi_init_param adxl355_spi_ip
Definition: common_data.c:74
adin1110_ip
struct adin1110_init_param adin1110_ip
Definition: common_data.c:221
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140