no-OS
iio_trigger_example.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __IIO_TRIGGER_EXAMPLE_H__
34 #define __IIO_TRIGGER_EXAMPLE_H__
35 
36 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 
40 /******************************************************************************/
41 /************************ Functions Declarations ******************************/
42 /******************************************************************************/
44 
45 #endif /* __IIO_EXAMPLE_H__ */
adxrs290_iio_trig_desc
struct iio_trigger adxrs290_iio_trig_desc
Definition: iio_adxrs290_trig.c:47
ad74413r_iio_desc::iio_dev
struct iio_device * iio_dev
Definition: iio_ad74413r.h:77
DATA_BUFFER_SIZE
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
adxrs290_init
int32_t adxrs290_init(struct adxrs290_dev **device, const struct adxrs290_init_param *init_param)
Definition: adxrs290.c:333
iio_app_init_param
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
adis1650x_iio_init
int adis1650x_iio_init(struct adis_iio_dev **iio_dev, struct adis_init_param *init_param)
Initialize adis1650x iio device.
Definition: iio_adis1650x.c:360
iio_trigger.h
Header file for iio_trigger.
iio_app_init_param::uart_init_params
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
iio_hw_trig::iio_desc
struct iio_desc * iio_desc
Definition: iio_trigger.h:58
ad74413r_channel_config::enabled
bool enabled
Definition: ad74413r.h:314
iio_trigger_example.h
IIO trigger example header for eval-adxrs290-pmdz project.
iio_data_buffer::size
uint32_t size
Definition: iio_app.h:63
iio_app_desc::iio_desc
struct iio_desc * iio_desc
Definition: iio_app.h:86
adis_iio_dev::iio_dev
struct iio_device * iio_dev
Definition: iio_adis_internals.h:222
ad74413r_init_param
Initialization parameter for the device descriptor.
Definition: ad74413r.h:296
GYRO_DDR_BASEADDR
#define GYRO_DDR_BASEADDR
Definition: iio_trigger_example.c:47
adxl355_iio_dev_init_param::adxl355_dev_init
struct adxl355_init_param * adxl355_dev_init
Definition: iio_adxl355.h:59
iio_trigger_init
Definition: iio.h:76
iio_app_desc
IIO application descriptor.
Definition: iio_app.h:80
adis1647x_ip
struct adis_init_param adis1647x_ip
Definition: common_data.c:76
iio_data_buffer::buff
void * buff
Definition: iio_app.h:64
iio_app_device::name
char * name
Definition: iio_app.h:68
adxrs290_uart_ip
struct no_os_uart_init_param adxrs290_uart_ip
Definition: common_data.c:42
pr_info
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
adxrs290_ip
struct adxrs290_init_param adxrs290_ip
Definition: common_data.c:73
no_os_print_log.h
Print messages helpers.
adis1646x_ip
struct adis_init_param adis1646x_ip
Definition: common_data.c:76
iio_trigger_example.h
IIO trigger example header for eval-adis1654x project.
DATA_BUFFER_SIZE
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
adxl355_iio_trig_desc
struct iio_trigger adxl355_iio_trig_desc
Definition: iio_adxl355_trig.c:44
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
AD74413R_VOLTAGE_OUT
@ AD74413R_VOLTAGE_OUT
Definition: ad74413r.h:195
DATA_BUFFER_SIZE
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:45
iio_hw_trig_init
int iio_hw_trig_init(struct iio_hw_trig **iio_trig, struct iio_hw_trig_init_param *init_param)
Initialize hardware trigger.
Definition: iio_trigger.c:56
adis1657x_iio_remove
void adis1657x_iio_remove(struct adis_iio_dev *desc)
Remove adis1657x iio device.
Definition: iio_adis1657x.c:523
IIO_APP_TRIGGER
#define IIO_APP_TRIGGER(_name, _trig, _trig_descriptor)
Definition: iio_app.h:56
adis1654x_ip
struct adis_init_param adis1654x_ip
Definition: common_data.c:76
adis1647x_uart_ip
struct no_os_uart_init_param adis1647x_uart_ip
Definition: common_data.c:45
adis_iio_dev
ADIS IIO device descriptor structure.
Definition: iio_adis_internals.h:218
DATA_BUFFER_SIZE
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
no_os_irq_set_priority
int32_t no_os_irq_set_priority(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, uint32_t priority_level)
Set the priority for an interrupt.
Definition: no_os_irq.c:216
iio_trigger_example.h
IIO trigger example header for AD74413R project.
adxrs290_iio_descriptor
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:305
DATA_BUFFER_SIZE
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
ad74413r_uart_ip
struct no_os_uart_init_param ad74413r_uart_ip
Definition: common_data.c:42
adis1654x_iio_remove
void adis1654x_iio_remove(struct adis_iio_dev *desc)
Remove adis1654x iio device.
Definition: iio_adis1654x.c:676
iio_app_device
Definition: iio_app.h:67
adis1657x_iio_init
int adis1657x_iio_init(struct adis_iio_dev **iio_dev, struct adis_init_param *init_param, struct iio_hw_trig *adis1657x_trig_desc)
Initialize adis1657x iio device.
Definition: iio_adis1657x.c:487
adxl355_iio_dev
Definition: iio_adxl355.h:50
adis1646x_uart_ip
struct no_os_uart_init_param adis1646x_uart_ip
Definition: common_data.c:45
DATA_BUFFER_SIZE
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
iio_data_buffer
Definition: iio_app.h:62
adxl355_uart_ip
struct no_os_uart_init_param adxl355_uart_ip
Definition: common_data.c:42
adis1655x_iio_remove
void adis1655x_iio_remove(struct adis_iio_dev *desc)
Remove adis1655x iio device.
Definition: iio_adis1655x.c:519
iio_hw_trig_remove
int iio_hw_trig_remove(struct iio_hw_trig *trig)
Free the resources allocated by iio_hw_trig_init().
Definition: iio_trigger.c:160
iio_trigger_example.h
IIO trigger example header for eval-adxl355-pmdz project.
ad74413r_iio_desc
Descriptor that stores a iio specific state.
Definition: iio_ad74413r.h:75
adis1654x_uart_ip
struct no_os_uart_init_param adis1654x_uart_ip
Definition: common_data.c:45
no_os_irq_ctrl_init
int32_t no_os_irq_ctrl_init(struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param)
Initialize the IRQ interrupts.
Definition: no_os_irq.c:45
adis1655x_ip
struct adis_init_param adis1655x_ip
Definition: common_data.c:76
AD74413R_DIGITAL_INPUT
@ AD74413R_DIGITAL_INPUT
Definition: ad74413r.h:201
ad74413r_iio_desc_init_param::ad74413r_init_param
struct ad74413r_init_param * ad74413r_init_param
Definition: iio_ad74413r.h:91
adxrs290_dev
Device driver handler.
Definition: adxrs290.h:174
adis1655x_iio_init
int adis1655x_iio_init(struct adis_iio_dev **iio_dev, struct adis_init_param *init_param)
Initialize adis1655x iio device.
Definition: iio_adis1655x.c:487
ad74413r_iio_desc_init_param
Init parameter for the iio descriptor.
Definition: iio_ad74413r.h:90
AD74412R
@ AD74412R
Definition: ad74413r.h:176
iio_adxrs290.h
Implementation of ADXRS290 iio.
iio_app_run
int iio_app_run(struct iio_app_desc *app)
iio_trigger_example.h
IIO trigger example header for eval-adis1646x project.
adis1655x_uart_ip
struct no_os_uart_init_param adis1655x_uart_ip
Definition: common_data.c:45
adis_iio_trig_desc
struct iio_trigger adis_iio_trig_desc
Definition: iio_adis_trig.c:46
iio_ad74413r.h
Header file of the IIO AD74413r Driver.
iio_app_init
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
iio_app_init_param::trigs
struct iio_trigger_init * trigs
Definition: iio_app.h:111
ad74413r_iio_init
int ad74413r_iio_init(struct ad74413r_iio_desc **iio_desc, struct ad74413r_iio_desc_init_param *init_param)
Initializes the AD74413R IIO descriptor.
Definition: iio_ad74413r.c:1531
adis1650x_iio_remove
void adis1650x_iio_remove(struct adis_iio_dev *desc)
Remove adis1650x iio device.
Definition: iio_adis1650x.c:393
adxl355_iio_dev::iio_dev
struct iio_device * iio_dev
Definition: iio_adxl355.h:52
DATA_BUFFER_SIZE
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
AD74413R_CURRENT_IN_EXT
@ AD74413R_CURRENT_IN_EXT
Definition: ad74413r.h:198
iio_trigger_example_main
int iio_trigger_example_main()
IIO trigger example main execution.
Definition: iio_trigger_example.c:62
adis1650x_ip
struct adis_init_param adis1650x_ip
Definition: common_data.c:76
iio_app_init_param::nb_trigs
int32_t nb_trigs
Definition: iio_app.h:113
iio_app_remove
int iio_app_remove(struct iio_app_desc *app)
iio_trigger_example_main
int iio_trigger_example_main()
Definition: iio_trigger_example.c:62
adis1657x_ip
struct adis_init_param adis1657x_ip
Definition: common_data.c:76
ad74413r_init_param::chip_id
enum ad74413r_chip_id chip_id
Definition: ad74413r.h:297
adis1654x_iio_init
int adis1654x_iio_init(struct adis_iio_dev **iio_dev, struct adis_init_param *init_param)
Initialize adis1654x iio device.
Definition: iio_adis1654x.c:643
ad74413r_channel_config
Device channel state.
Definition: ad74413r.h:313
no_os_irq_ctrl_remove
int32_t no_os_irq_ctrl_remove(struct no_os_irq_ctrl_desc *desc)
Free the resources allocated by no_os_irq_ctrl_init().
Definition: no_os_irq.c:71
iio_trigger_example.h
IIO trigger example header for eval-adis1657x project.
iio_trigger_example.h
IIO trigger example header for eval-adis1650x project.
iio_trigger_example.h
IIO trigger example header for eval-adis1647x project.
in_buff
uint8_t in_buff[MAX_SIZE_BASE_ADDR]
Definition: common_data.c:46
iio_app_init_param::irq_desc
void * irq_desc
Definition: iio_app.h:117
ad74413r_iio_desc_init_param::channel_configs
struct ad74413r_channel_config channel_configs[AD74413R_N_CHANNELS]
Definition: iio_ad74413r.h:92
no_os_util.h
Header file of utility functions.
DATA_BUFFER_SIZE
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
adis1647x_iio_remove
void adis1647x_iio_remove(struct adis_iio_dev *desc)
Remove adis1647x iio device.
Definition: iio_adis1647x.c:414
MAX_SIZE_BASE_ADDR
#define MAX_SIZE_BASE_ADDR
Definition: iio_trigger_example.c:45
adxl355_iio_init
int adxl355_iio_init(struct adxl355_iio_dev **iio_dev, struct adxl355_iio_dev_init_param *init_param)
Initializes the ADXL355 IIO driver.
Definition: iio_adxl355.c:1038
iio_trigger_example.h
IIO trigger example header for eval-adis1655x project.
ad74413r_spi_ip
struct no_os_spi_init_param ad74413r_spi_ip
Definition: common_data.c:54
adis1646x_iio_remove
void adis1646x_iio_remove(struct adis_iio_dev *desc)
Remove adis1646x iio device.
Definition: iio_adis1646x.c:393
adis1646x_iio_init
int adis1646x_iio_init(struct adis_iio_dev **iio_dev, struct adis_init_param *init_param)
Initialize adis1646x iio device.
Definition: iio_adis1646x.c:360
adis1650x_uart_ip
struct no_os_uart_init_param adis1650x_uart_ip
Definition: common_data.c:45
adxl355_iio_dev_init_param
Definition: iio_adxl355.h:58
no_os_irq_ctrl_desc
Definition: no_os_irq.h:123
ad74413r_ip
struct ad74413r_init_param ad74413r_ip
Definition: common_data.c:92
adis1657x_uart_ip
struct no_os_uart_init_param adis1657x_uart_ip
Definition: common_data.c:45
iio_app_init_param::devices
struct iio_app_device * devices
Definition: iio_app.h:107
iio_hw_trig
IIO hardware trigger structure.
Definition: iio_trigger.h:56
iio_app_init_param::nb_devices
uint32_t nb_devices
Definition: iio_app.h:109
adxl355_ip
struct adxl355_init_param adxl355_ip
Definition: common_data.c:84
AD74413R_VOLTAGE_IN
@ AD74413R_VOLTAGE_IN
Definition: ad74413r.h:197
adis1647x_iio_init
int adis1647x_iio_init(struct adis_iio_dev **iio_dev, struct adis_init_param *init_param)
Initialize adis1647x iio device.
Definition: iio_adis1647x.c:381