Go to the documentation of this file.
33 #ifndef __IIO_TRIGGER_EXAMPLE_H__
34 #define __IIO_TRIGGER_EXAMPLE_H__
struct iio_trigger adxrs290_iio_trig_desc
Definition: iio_adxrs290_trig.c:47
struct iio_device * iio_dev
Definition: iio_ad74413r.h:77
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
int32_t adxrs290_init(struct adxrs290_dev **device, const struct adxrs290_init_param *init_param)
Definition: adxrs290.c:333
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
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
Header file for iio_trigger.
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
struct iio_desc * iio_desc
Definition: iio_trigger.h:58
bool enabled
Definition: ad74413r.h:314
IIO trigger example header for eval-adxrs290-pmdz project.
uint32_t size
Definition: iio_app.h:63
struct iio_desc * iio_desc
Definition: iio_app.h:86
struct iio_device * iio_dev
Definition: iio_adis_internals.h:222
Initialization parameter for the device descriptor.
Definition: ad74413r.h:296
#define GYRO_DDR_BASEADDR
Definition: iio_trigger_example.c:47
struct adxl355_init_param * adxl355_dev_init
Definition: iio_adxl355.h:59
IIO application descriptor.
Definition: iio_app.h:80
struct adis_init_param adis1647x_ip
Definition: common_data.c:76
void * buff
Definition: iio_app.h:64
char * name
Definition: iio_app.h:68
struct no_os_uart_init_param adxrs290_uart_ip
Definition: common_data.c:42
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
struct adxrs290_init_param adxrs290_ip
Definition: common_data.c:73
struct adis_init_param adis1646x_ip
Definition: common_data.c:76
IIO trigger example header for eval-adis1654x project.
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
struct iio_trigger adxl355_iio_trig_desc
Definition: iio_adxl355_trig.c:44
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
@ AD74413R_VOLTAGE_OUT
Definition: ad74413r.h:195
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:45
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
void adis1657x_iio_remove(struct adis_iio_dev *desc)
Remove adis1657x iio device.
Definition: iio_adis1657x.c:523
#define IIO_APP_TRIGGER(_name, _trig, _trig_descriptor)
Definition: iio_app.h:56
struct adis_init_param adis1654x_ip
Definition: common_data.c:76
struct no_os_uart_init_param adis1647x_uart_ip
Definition: common_data.c:45
ADIS IIO device descriptor structure.
Definition: iio_adis_internals.h:218
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
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 header for AD74413R project.
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:305
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
struct no_os_uart_init_param ad74413r_uart_ip
Definition: common_data.c:42
void adis1654x_iio_remove(struct adis_iio_dev *desc)
Remove adis1654x iio device.
Definition: iio_adis1654x.c:676
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
Definition: iio_adxl355.h:50
struct no_os_uart_init_param adis1646x_uart_ip
Definition: common_data.c:45
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
struct no_os_uart_init_param adxl355_uart_ip
Definition: common_data.c:42
void adis1655x_iio_remove(struct adis_iio_dev *desc)
Remove adis1655x iio device.
Definition: iio_adis1655x.c:519
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 header for eval-adxl355-pmdz project.
Descriptor that stores a iio specific state.
Definition: iio_ad74413r.h:75
struct no_os_uart_init_param adis1654x_uart_ip
Definition: common_data.c:45
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
struct adis_init_param adis1655x_ip
Definition: common_data.c:76
@ AD74413R_DIGITAL_INPUT
Definition: ad74413r.h:201
struct ad74413r_init_param * ad74413r_init_param
Definition: iio_ad74413r.h:91
Device driver handler.
Definition: adxrs290.h:174
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
Init parameter for the iio descriptor.
Definition: iio_ad74413r.h:90
@ AD74412R
Definition: ad74413r.h:176
Implementation of ADXRS290 iio.
int iio_app_run(struct iio_app_desc *app)
IIO trigger example header for eval-adis1646x project.
struct no_os_uart_init_param adis1655x_uart_ip
Definition: common_data.c:45
struct iio_trigger adis_iio_trig_desc
Definition: iio_adis_trig.c:46
Header file of the IIO AD74413r Driver.
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
struct iio_trigger_init * trigs
Definition: iio_app.h:111
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
void adis1650x_iio_remove(struct adis_iio_dev *desc)
Remove adis1650x iio device.
Definition: iio_adis1650x.c:393
struct iio_device * iio_dev
Definition: iio_adxl355.h:52
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
@ AD74413R_CURRENT_IN_EXT
Definition: ad74413r.h:198
int iio_trigger_example_main()
IIO trigger example main execution.
Definition: iio_trigger_example.c:62
struct adis_init_param adis1650x_ip
Definition: common_data.c:76
int32_t nb_trigs
Definition: iio_app.h:113
int iio_app_remove(struct iio_app_desc *app)
int iio_trigger_example_main()
Definition: iio_trigger_example.c:62
struct adis_init_param adis1657x_ip
Definition: common_data.c:76
enum ad74413r_chip_id chip_id
Definition: ad74413r.h:297
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
Device channel state.
Definition: ad74413r.h:313
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 header for eval-adis1657x project.
IIO trigger example header for eval-adis1650x project.
IIO trigger example header for eval-adis1647x project.
uint8_t in_buff[MAX_SIZE_BASE_ADDR]
Definition: common_data.c:46
void * irq_desc
Definition: iio_app.h:117
struct ad74413r_channel_config channel_configs[AD74413R_N_CHANNELS]
Definition: iio_ad74413r.h:92
Header file of utility functions.
#define DATA_BUFFER_SIZE
Definition: iio_trigger_example.c:44
void adis1647x_iio_remove(struct adis_iio_dev *desc)
Remove adis1647x iio device.
Definition: iio_adis1647x.c:414
#define MAX_SIZE_BASE_ADDR
Definition: iio_trigger_example.c:45
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 header for eval-adis1655x project.
struct no_os_spi_init_param ad74413r_spi_ip
Definition: common_data.c:54
void adis1646x_iio_remove(struct adis_iio_dev *desc)
Remove adis1646x iio device.
Definition: iio_adis1646x.c:393
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
struct no_os_uart_init_param adis1650x_uart_ip
Definition: common_data.c:45
Definition: iio_adxl355.h:58
Definition: no_os_irq.h:123
struct ad74413r_init_param ad74413r_ip
Definition: common_data.c:92
struct no_os_uart_init_param adis1657x_uart_ip
Definition: common_data.c:45
struct iio_app_device * devices
Definition: iio_app.h:107
IIO hardware trigger structure.
Definition: iio_trigger.h:56
uint32_t nb_devices
Definition: iio_app.h:109
struct adxl355_init_param adxl355_ip
Definition: common_data.c:84
@ AD74413R_VOLTAGE_IN
Definition: ad74413r.h:197
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