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 "adxrs290.h"
47 #ifdef IIO_SUPPORT
48 #include "iio_adxrs290.h"
49 #if defined(IIO_TRIGGER_EXAMPLE) || defined(IIO_TIMER_TRIGGER_EXAMPLE)
50 #include "iio_trigger.h"
51 #endif
52 #endif
53 
54 /******************************************************************************/
55 /********************** Macros and Constants Definitions **********************/
56 /******************************************************************************/
60 extern struct adxrs290_init_param adxrs290_ip;
61 
62 #ifdef IIO_TRIGGER_EXAMPLE
63 #define ADXRS290_GPIO_TRIG_NAME "adxrs290-dev0"
64 
65 extern struct iio_hw_trig_init_param adxrs290_gpio_trig_ip;
66 extern struct no_os_irq_init_param adxrs290_gpio_irq_ip;
67 #endif
68 
69 #ifdef IIO_TIMER_TRIGGER_EXAMPLE
70 #define ADXRS290_TIMER_TRIG_NAME "adxrs290_timer_trig"
71 extern struct no_os_timer_init_param adxrs290_tip;
72 extern struct no_os_irq_init_param adxrs290_timer_irq_ip;
73 extern struct iio_hw_trig_init_param adxrs290_timer_trig_ip;
74 #endif
75 
76 #endif /* __COMMON_DATA_H__ */
adxrs290_ip
struct adxrs290_init_param adxrs290_ip
Definition: common_data.c:79
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
iio_trigger.h
Header file for iio_trigger.
adxrs290_spi_ip
struct no_os_spi_init_param adxrs290_spi_ip
Definition: common_data.c:60
adxrs290.h
Implementation of ADXRS290 Driver.
adxrs290_init_param
Device driver initialization structure.
Definition: adxrs290.h:163
iio_adxrs290.h
Implementation of ADXRS290 iio.
no_os_timer_init_param
Structure holding the parameters for timer initialization.
Definition: no_os_timer.h:89
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:116
no_os_irq_init_param
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:113
adxrs290_gpio_sync_ip
struct no_os_gpio_init_param adxrs290_gpio_sync_ip
Definition: common_data.c:71
adxrs290_uart_ip
struct no_os_uart_init_param adxrs290_uart_ip
Definition: common_data.c:48
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:131