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 "adxrs290.h"
41 #ifdef IIO_SUPPORT
42 #include "iio_adxrs290.h"
43 #if defined(IIO_TRIGGER_EXAMPLE) || defined(IIO_TIMER_TRIGGER_EXAMPLE)
44 #include "iio_trigger.h"
45 #endif
46 #endif
47 
48 /******************************************************************************/
49 /********************** Macros and Constants Definitions **********************/
50 /******************************************************************************/
54 extern struct adxrs290_init_param adxrs290_ip;
55 
56 #ifdef IIO_TRIGGER_EXAMPLE
57 #define ADXRS290_GPIO_TRIG_NAME "adxrs290-dev0"
58 
59 extern struct iio_hw_trig_init_param adxrs290_gpio_trig_ip;
60 extern struct no_os_irq_init_param adxrs290_gpio_irq_ip;
61 #endif
62 
63 #ifdef IIO_TIMER_TRIGGER_EXAMPLE
64 #define ADXRS290_TIMER_TRIG_NAME "adxrs290_timer_trig"
65 extern struct no_os_timer_init_param adxrs290_tip;
66 extern struct no_os_irq_init_param adxrs290_timer_irq_ip;
67 extern struct iio_hw_trig_init_param adxrs290_timer_trig_ip;
68 #endif
69 
70 #endif /* __COMMON_DATA_H__ */
adxrs290_ip
struct adxrs290_init_param adxrs290_ip
Definition: common_data.c:73
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
iio_trigger.h
Header file for iio_trigger.
adxrs290_spi_ip
struct no_os_spi_init_param adxrs290_spi_ip
Definition: common_data.c:54
adxrs290.h
Implementation of ADXRS290 Driver.
adxrs290_init_param
Device driver initialization structure.
Definition: adxrs290.h:157
iio_adxrs290.h
Implementation of ADXRS290 iio.
no_os_timer_init_param
Structure holding the parameters for timer initialization.
Definition: no_os_timer.h:83
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
adxrs290_gpio_sync_ip
struct no_os_gpio_init_param adxrs290_gpio_sync_ip
Definition: common_data.c:65
adxrs290_uart_ip
struct no_os_uart_init_param adxrs290_uart_ip
Definition: common_data.c:42
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140