no-OS
common_data.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef __COMMON_DATA_H__
40 #define __COMMON_DATA_H__
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 #include "platform_includes.h"
46 #include "adxl355.h"
47 #ifdef IIO_SUPPORT
48 #include "iio_adxl355.h"
49 #ifdef IIO_TRIGGER_EXAMPLE
50 #include "iio_trigger.h"
51 #endif
52 #endif
53 
54 /******************************************************************************/
55 /********************** Macros and Constants Definitions **********************/
56 /******************************************************************************/
57 #ifdef DUMMY_EXAMPLE
58 extern struct no_os_uart_init_param adxl355_uart_ip;
59 #endif
60 
62 extern struct adxl355_init_param adxl355_ip;
63 
64 #ifdef IIO_TRIGGER_EXAMPLE
65 #define ADXL355_GPIO_TRIG_NAME "adxl355-dev0"
66 
67 extern struct iio_hw_trig_init_param adxl355_gpio_trig_ip;
68 extern struct no_os_irq_init_param adxl355_gpio_irq_ip;
69 #endif
70 
71 #endif /* __COMMON_DATA_H__ */
adxl355_init_param
Structure holding the parameters for ADXL355 device initialization.
Definition: adxl355.h:194
iio_trigger.h
Header file for iio_trigger.
adxl355_ip
struct adxl355_init_param adxl355_ip
Definition: common_data.c:91
adxl355.h
Header file of ADXL355 Driver.
iio_adxl355.h
Header file of IIO ADXL355 Driver.
iio_hw_trig_init_param
IIO hardware trigger initialization structure.
Definition: iio_trigger.h:92
no_os_uart_init_param
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:103
no_os_irq_init_param
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:103
adxl355_spi_ip
struct no_os_spi_init_param adxl355_spi_ip
Definition: common_data.c:81
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:112