Go to the documentation of this file.
34 #ifndef __IIO_EXAMPLE_H__
35 #define __IIO_EXAMPLE_H__
struct iio_device * iio_dev
Definition: iio_max11205.h:53
int lt8722_iio_remove(struct lt8722_iio_dev *desc)
Free resources allocated by the init function.
Definition: iio_lt8722.c:1876
Structure holding the LT7170 IIO initialization parameter.
Definition: iio_lt7170.h:57
#define SYSREF_SRC_INTERNAL
Definition: ad9528.h:275
Header file for AD7616 IIO interface.
struct iio_device * iio_dev
Definition: iio_adf4382.h:40
Driver for the Analog Devices AXI-ADC-CORE module.
@ MAX14906_OUT
Definition: max14906.h:85
#define DATA_BUFFER_SIZE
Definition: iio_example.c:45
int32_t axi_dac_data_setup(struct axi_dac *dac)
AXI DAC Data Setup.
Definition: axi_dac_core.c:1193
int adf4368_iio_remove(struct adf4368_iio_dev *dev)
Free the resources allocated by adf4368_iio_init().
Definition: iio_adf4368.c:671
struct ltc2983_init_param * ltc2983_desc_init_param
Definition: iio_ltc2983.h:53
Header file of IIO ADXL367 Driver.
int32_t ad469x_init(struct ad469x_dev **device, struct ad469x_init_param *init_param)
Definition: ad469x.c:1065
struct dac_demo_init_param dac_init_par
Definition: common_data.c:68
int32_t adc_demo_remove(struct adc_demo_desc *desc)
free allocated resources
Definition: adc_demo.c:100
struct iio_device * iio_dev
Definition: iio_ad74413r.h:77
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
struct no_os_uart_init_param ad738x_uart_ip
Definition: common_data.c:48
uint16_t channel_divider
Definition: ad9528.h:345
struct ltc4162l_init_param * init_param
Definition: iio_ltc4162l.h:53
Definition: iio_lt8491.h:54
IIO example header file for ltm4686 project.
#define DATA_BUFFER_SIZE
Definition: iio_example.c:46
Definition: iio_max31855.h:47
int ad796x_remove(struct ad796x_dev *dev)
Remove the device and release resources.
Definition: ad796x.c:223
#define ADXCVR_REFCLK
Definition: axi_adxcvr.h:55
int iio_remove(struct iio_desc *desc)
Free the resources allocated by "iio_init()".
Definition: iio.c:2029
int32_t axi_dac_init_begin(struct axi_dac **dac_core, const struct axi_dac_init *init)
Begin AXI DAC Initialization.
Definition: axi_dac_core.c:1098
int ad738x_iio_init(struct ad738x_iio_dev **dev, struct ad738x_init_param *init_param)
struct iio_device * iio_dev
Definition: iio_ltm4686.h:45
Header file of DAC Demo iio.
struct ad7091r8_init_param ad7091r8_ip
Definition: common_data.c:64
Struct describing the scan type.
Definition: iio_types.h:168
struct adc_demo_init_param adc_init_par
Definition: common_data.c:58
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id)
Definition: iio_app.h:47
struct adf4368_init_param * adf4368_dev_init
Definition: iio_adf4368.h:44
Initialization parameter for the MAX14916 IIO descriptor.
Definition: iio_max14916.h:53
Definition: iio_max31855.h:58
char sign
Definition: iio_types.h:153
Header file of IIO MAX22196 Driver.
struct lt8491_init_param lt8491_ip
Definition: common_data.c:55
int max22017_iio_init(struct max22017_iio_desc **iio_desc, struct max22017_iio_desc_init_param *init_param)
Definition: iio_max22017.c:745
bool enabled
Definition: ad74413r.h:314
struct iio_device * iio_dev
Definition: iio_ltp8800.h:45
struct iio_device * iio_dev
Definition: iio_max22017.h:86
Adc descriptor.
Definition: aducm3029_adc.c:48
int32_t adc_demo_init(struct adc_demo_desc **desc, struct adc_demo_init_param *param)
init function for the adc demo driver
Definition: adc_demo.c:76
struct iio_device * iio_dev
Definition: iio_adp1050.h:45
int max22196_iio_remove(struct max22196_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_max22196.c:863
struct no_os_uart_init_param max22196_uart_ip
Definition: common_data.c:35
uint32_t size
Definition: iio_app.h:63
int32_t ad469x_sequence_disable_temp(struct ad469x_dev *dev)
Disable temperature read at the end of the sequence, for standard and advanced sequencer.
Definition: ad469x.c:606
Definition: axi_dmac.h:127
int adf4382_iio_init(struct adf4382_iio_dev **iio_dev, struct adf4382_iio_dev_init_param *init_param)
Initializes the ADF4382 IIO driver.
Definition: iio_adf4382.c:942
Header file for the ad7606 Driver.
struct iio_channel * channels
Definition: iio_types.h:254
struct max11205_init_param max11205_ip
Definition: common_data.c:78
iio device descriptor.
Definition: iio_adt7420.h:50
uint16_t adc_buffer[ADC_BUFFER_SAMPLES *ADC_CHANNELS]
Definition: iio_example.c:73
Definition: iio_adf4382.h:38
Header file of IIO AD7091R8 driver header file.
MAX22200 specific IIO descriptor.
Definition: iio_max22200.h:117
@ UART_PL
Definition: xilinx_uart.h:57
struct no_os_uart_init_param uip
Definition: common_data.c:42
Initialization parameter for the device descriptor.
Definition: ad74413r.h:296
#define ADRV9025_RX_JESD_SUBCLASS
Definition: app_config.h:61
struct pulsar_adc_init_param pulsar_adc_init_param
Definition: common_data.c:95
Definition: iio_max31827.h:54
Definition: iio_adf4368.h:38
Header file of SPI Interface.
struct adxcvr * tx_adxcvr
Definition: app_jesd.c:53
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
enum xil_uart_type type
Definition: xilinx_uart.h:69
struct no_os_uart_init_param max22200_uart_ip
Definition: common_data.c:35
@ RPOLE2_900_OHM
Definition: ad9523.h:336
enum max11205_dev_id dev_id
Definition: iio_max11205.h:62
int jesd204_topology_init(struct jesd204_topology **topology, struct jesd204_topology_dev *devs, unsigned int devs_number)
struct iio_device * iio_dev
Definition: iio_max22200.h:119
#define MAX_SIZE_BASE_ADDR
Definition: iio_example.c:62
int lt8722_iio_init(struct lt8722_iio_dev **iio_dev, struct lt8722_iio_dev_init_param *init_param)
Initializes the LT8722 IIO descriptor.
Definition: iio_lt8722.c:1841
int32_t ad469x_set_channel_sequence(struct ad469x_dev *dev, enum ad469x_channel_sequencing seq)
Set channel sequence.
Definition: ad469x.c:402
Output channel configuration.
Definition: ad9528.h:330
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:89
struct adxl355_init_param * adxl355_dev_init
Definition: iio_adxl355.h:59
int adxl367_iio_init(struct adxl367_iio_dev **iio_dev, struct adxl367_iio_init_param *init_param)
Initializes the ADXL367 IIO driver.
Definition: iio_adxl367.c:721
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:143
struct axi_dmac * rx_dmac
Definition: iio_axi_adc.h:81
const struct no_os_spi_init_param ad9528_spi_param
Definition: common_data.c:45
Configuration structure.
Definition: iio_adt7420.h:61
int32_t axi_adc_write(struct axi_adc *adc, uint32_t reg_addr, uint32_t reg_data)
AXI ADC Data Write.
Definition: axi_adc_core.c:71
Definition: iio_lt8491.h:47
IIO application descriptor.
Definition: iio_app.h:80
struct jesd204_dev * jdev
Definition: axi_jesd204_rx.h:81
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
struct iio_device * iio_dev
Definition: iio_max14916.h:47
Structure holding the LTP8800 IIO initialization parameter.
Definition: iio_ltp8800.h:51
Header file of IIO MAX22017 Driver.
#define AXI_ADC_RSTN
Definition: axi_adc_core.h:47
Definition: dac_demo.h:58
struct iio_device * iio_dev
Definition: iio_max22190.h:52
int ltc4162l_iio_init(struct ltc4162l_iio_device **iio_device, struct ltc4162l_iio_init_param *iio_init_param)
Definition: iio_ltc4162l.c:481
void * buff
Definition: iio_app.h:64
#define DATA_BUFFER_SIZE
Definition: iio_example.c:45
struct iio_device dac_demo_iio_descriptor
Definition: iio_dac_demo.c:273
uint32_t axi_jesd204_rx_status_read(struct axi_jesd204_rx *jesd)
Read status of the JESD204 Receive Peripherial.
Definition: axi_jesd204_rx.c:212
char * name
Definition: iio_app.h:68
#define GYRO_DDR_BASEADDR
Definition: iio_example.c:46
struct no_os_uart_init_param adxrs290_uart_ip
Definition: common_data.c:42
struct ltc4162l_init_param ltc4162l_ip
Definition: common_data.c:56
struct no_os_uart_init_param ltm4686_uart_ip
Definition: common_data.c:35
struct axi_adc * ad796x_core
Definition: ad796x.h:86
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
struct iio_device * iio_dev
Definition: iio_adxl313.h:50
#define ADC_DDR_BASEADDR
Definition: main.c:62
struct max22196_init_param max22196_ip
Definition: common_data.c:61
struct no_os_uart_init_param max11205_uart_ip
Definition: common_data.c:42
Header file for iio example.
int32_t ad469x_enter_conversion_mode(struct ad469x_dev *dev)
Enter conversion mode. To exit conversion mode send a 5 bit conversion mode command AD469x_CMD_REG_CO...
Definition: ad469x.c:659
int max14916_iio_init(struct max14916_iio_desc **iio_desc, struct max14916_iio_desc_init_param *init_param)
Initializes the MAX14916 IIO descriptor.
Definition: iio_max14916.c:239
IIO example header for ad7091r8-sdz project.
int ltc2983_iio_remove(struct ltc2983_iio_desc *desc)
Free resources allocated by the init function.
Definition: iio_ltc2983.c:172
IIO example header for max11205pmb1 project.
Initialization parameter for the MAX14906 IIO descriptor.
Definition: iio_max14906.h:92
IIO example header for eval-pulsar_adc project.
int ltp8800_iio_init(struct ltp8800_iio_desc **iio_desc, struct ltp8800_iio_desc_init_param *init_param)
Initializes the LTP8800 IIO descriptor.
Definition: iio_ltp8800.c:765
int32_t axi_adc_init_begin(struct axi_adc **adc_core, const struct axi_adc_init *init)
Begin AXI ADC Initialization.
Definition: axi_adc_core.c:587
Initalization parameter fr the MAX22200 IIO descriptor.
Definition: iio_max22200.h:125
struct max22017_init_param max22017_ip
Definition: common_data.c:63
@ UART_PS
Definition: xilinx_uart.h:59
IIO example header for adt7420-pmdz project.
#define ADRV9025_TX_JESD_BITS_PER_SAMPLE
Definition: app_config.h:54
Structure holding the LT8722 IIO initalization parameter.
Definition: iio_lt8722.h:53
struct adxrs290_init_param adxrs290_ip
Definition: common_data.c:73
Structure holding the LT7170 IIO device descriptor.
Definition: iio_lt7170.h:49
Header file for iio example.
struct iio_device * iio_dev
Definition: iio_lt8491.h:49
Definition: iio_ad7616.h:29
enum iio_chan_type ch_type
Definition: iio_types.h:172
struct iio_device * iio_dev
Definition: iio_lt7182s.h:45
iio configuration.
Definition: iio_axi_adc.h:77
Structure holding the LTM4686 IIO initialization parameter.
Definition: iio_ltm4686.h:51
int max31827_iio_remove(struct max31827_iio_device *iio_device)
Free resources allocated by the init function.
Definition: iio_max31827.c:377
Structure holding the ADP1050 IIO device descriptor.
Definition: iio_adp1050.h:43
IIO example header for the adrv902x project.
Driver for the Analog Devices AXI-DAC-CORE module.
int32_t dac_demo_remove(struct dac_demo_desc *desc)
free allocated resources
Definition: dac_demo.c:79
Definition: iio_axi_dac.h:71
int32_t axi_jesd204_rx_init(struct axi_jesd204_rx **jesd204, const struct jesd204_rx_init *init)
Device initialization, JESD FSM ON.
Definition: axi_jesd204_rx.c:911
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
Definition: jesd204.h:248
struct iio_dev * iio_dev
Definition: iio_adt7420.h:52
struct jesd204_dev * jdev
Definition: jesd204.h:240
@ ID_ADXL312
Definition: adxl313.h:245
int32_t axi_jesd204_rx_remove(struct axi_jesd204_rx *jesd)
Free resoulces allocated for JESD204 RX peripheral.
Definition: axi_jesd204_rx.c:990
int32_t ad469x_std_sequence_ch(struct ad469x_dev *dev, uint16_t ch_mask)
Configure standard sequencer channels.
Definition: ad469x.c:557
const char * name
Definition: axi_jesd204_rx.h:90
int ltp8800_iio_remove(struct ltp8800_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_ltp8800.c:800
IIO example header file for ltp8800 project.
#define DRIVER_MODE_LVDS
Definition: ad9528.h:253
int pulsar_adc_iio_init(struct pulsar_adc_iio_dev **dev, struct pulsar_adc_iio_init_param *iio_init_param)
Initialize PULSAR_ADC for IIO interfacing.
Definition: iio_pulsar_adc.c:179
struct no_os_uart_init_param max14906_uart_ip
Definition: common_data.c:35
@ AD74413R_VOLTAGE_OUT
Definition: ad74413r.h:195
Definition: jesd204.h:239
@ CPOLE1_16_PF
Definition: ad9523.h:356
int ad738x_iio_remove(struct ad738x_iio_dev *dev)
int adp1050_iio_init(struct adp1050_iio_desc **iio_desc, struct adp1050_iio_desc_init_param *init_param)
Initializes the ADP1050 IIO descriptor.
Definition: iio_adp1050.c:1203
Definition: ad7091r8.h:182
MAX22196 IIO descriptor.
Definition: iio_max22196.h:51
struct no_os_uart_init_param lt7182s_uart_ip
Definition: common_data.c:35
int lt7170_iio_remove(struct lt7170_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_lt7170.c:798
struct no_os_uart_init_param lt7170_uart_ip
Definition: common_data.c:41
MAX14906 specific IIO descriptor.
Definition: iio_max14906.h:81
struct axi_jesd204_tx * tx_jesd
Definition: app_jesd.c:50
#define AXI_ADC_REG_RSTN
Definition: axi_adc_core.h:45
Definition: iio_adxl313.h:48
int32_t iio_axi_adc_remove(struct iio_axi_adc_desc *desc)
Release resources.
Definition: iio_axi_adc.c:530
Definition: iio_max11205.h:49
#define AD7606X_MODE_PARALLEL
Definition: parameters.h:44
#define DATA_BUFFER_SIZE
Definition: iio_example.c:45
iio_axi_adc_descriptor
Definition: iio_axi_adc.h:53
Header file of AD7616 Driver.
Structure holding the LTC4162L IIO device descriptor.
Definition: iio_ltc4162l.h:42
#define ADRV9025_TX_JESD_HIGH_DENSITY
Definition: app_config.h:55
int32_t axi_dmac_remove(struct axi_dmac *dmac)
Definition: axi_dmac.c:367
struct no_os_uart_init_param adf4368_uart_ip
Definition: common_data.c:36
struct max22190_init_param * max22190_init_param
Definition: iio_max22190.h:59
Definition: iio_adxl367.h:44
struct max149x6_init_param * max14916_init_param
Definition: iio_max14916.h:54
int lt7182s_iio_init(struct lt7182s_iio_desc **iio_desc, struct lt7182s_iio_desc_init_param *init_param)
Initializes the LT7182S IIO descriptor.
Definition: iio_lt7182s.c:857
#define RX_DMA_BASEADDR
Definition: parameters.h:64
#define SYSREF_PATTERN_NSHOT
Definition: ad9528.h:278
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
IIO example header for iio project.
Definition: iio_adxl367.h:51
struct adp1050_init_param adp1050_ip
Definition: common_data.c:61
struct iio_data_buffer * read_buff
Definition: iio_app.h:71
Header file for AD738x Driver.
IIO example header for iio_demo_freeRTOS project.
struct axi_dmac * rx_dmac
Definition: main.c:171
struct iio_device * iio_dev
Definition: iio_max22196.h:53
int jesd204_fsm_start(struct jesd204_topology *topology, unsigned int link_idx)
int channel
Definition: iio_types.h:174
int32_t(* pre_enable)(void *dev, uint32_t mask)
Definition: iio_types.h:274
Driver for the ADI AXI-ADXCVR Module.
Stucture holding the UART descriptor.
Definition: no_os_uart.h:134
int adt75_iio_init(struct adt75_iio_desc **desc, struct adt75_iio_init_param *init_param)
Initializes the ADT75 IIO descriptor.
Definition: iio_adt75.c:193
struct ltm4686_init_param * ltm4686_init_param
Definition: iio_ltm4686.h:52
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:305
int32_t iio_axi_adc_init(struct iio_axi_adc_desc **desc, struct iio_axi_adc_init_param *init)
Registers a iio_axi_adc_desc for reading/writing and parameterization of axi_adc device.
Definition: iio_axi_adc.c:476
int32_t axi_jesd204_tx_remove(struct axi_jesd204_tx *jesd)
Free resoulces allocated for JESD204 TX peripheral.
Definition: axi_jesd204_tx.c:912
struct adf4368_init_param adf4368_ip
Definition: common_data.c:58
int max14906_iio_init(struct max14906_iio_desc **iio_desc, struct max14906_iio_desc_init_param *init_param)
Initializes the MAX14906 IIO descriptor.
Definition: iio_max14906.c:579
struct max31855_init_param * max31855_dev_init
Definition: iio_max31855.h:59
int adrv9025_set_agc_params(adi_adrv9025_AgcCfg_t *agcConfig_init_param)
Set AGC parameters in initialization structure.
Definition: iio_example.c:554
struct adt75_init_param * adt75_init_param
Definition: iio_adt75.h:58
MAX14916 specific IIO descriptor.
Definition: iio_max14916.h:45
Header file of MAX14906 IIO Driver.
int ad7606_iio_remove(struct ad7606_iio_dev *dev)
Definition: iio_ad7606.c:467
struct ltm4686_init_param ltm4686_ip
Definition: common_data.c:55
struct no_os_uart_init_param ad74413r_uart_ip
Definition: common_data.c:42
struct ad7606_init_param ad7606x_init_param_parallel
Definition: common_data.c:146
#define ADRV9025_RX_JESD_FRAMES_PER_MULTIFRAME
Definition: app_config.h:60
#define MAX_SIZE_BASE_ADDR
Definition: iio_example.c:44
struct axi_dmac * tx_dmac
Definition: main.c:181
pulsar_adc IIO initialization structure
Definition: iio_pulsar_adc.h:68
int ad7091r8_iio_remove(struct ad7091r8_iio_dev *desc)
Free the resources allocated by ad7091r8_iio_init().
Definition: iio_ad7091r8.c:351
struct ad7616_init_param ad7616_ip
Definition: common_data.c:90
struct lt8491_init_param * init_param
Definition: iio_lt8491.h:55
bool ad469x_is_temp_channel(struct ad469x_dev *dev, uint8_t channel)
Definition: ad469x.c:279
#define TX_XCVR_BASEADDR
Definition: parameters.h:58
#define ADRV9025_TX_JESD_SUBCLASS
Definition: app_config.h:57
const struct no_os_gpio_init_param clkchip_gpio_init_param
Definition: common_data.c:55
Definition: iio_adxl355.h:50
@ IRQ_DISABLED
Definition: axi_dmac.h:79
struct max22200_init_param * max22200_init_param
Definition: iio_max22200.h:126
struct adxl313_init_param adxl313_user_init
Definition: common_data.c:64
struct max22190_init_param max22190_ip
Definition: common_data.c:53
struct lt7182s_init_param lt7182s_ip
Definition: common_data.c:55
const char * name
Definition: axi_dac_core.h:70
#define JESD204_LINKS_ALL
Definition: jesd204.h:49
Header file for the LT8722 IIO Driver.
IIO example header for AD74413R project.
struct no_os_gpio_init_param * gpio_resetb
Definition: ad9528.h:501
struct max22017_init_param * max22017_init_param
Definition: iio_max22017.h:93
Definition: iio_adf4368.h:43
struct no_os_irq_ctrl_desc * irq_ctrl
Definition: max11205.h:79
Device driver initialization parameters.
Definition: ad7606.h:309
struct iio_data_buffer * write_buff
Definition: iio_app.h:72
@ ID_ADXL313
Definition: adxl313.h:246
#define ADRV9025_STREAM_IMAGE_FILE
Definition: app_config.h:63
Header file for init parameters.
int ltc2983_iio_init(struct ltc2983_iio_desc **iio_dev, struct ltc2983_iio_desc_init_param *init_param)
Initializes the LTC2983 IIO driver.
Definition: iio_ltc2983.c:111
struct lt8722_init_param * lt8722_init_param
Definition: iio_lt8722.h:54
int ltm4686_iio_init(struct ltm4686_iio_desc **iio_desc, struct ltm4686_iio_desc_init_param *init_param)
Initializes the LTM4686 IIO descriptor.
Definition: iio_ltm4686.c:681
#define ADRV9025_RX_JESD_OCTETS_PER_FRAME
Definition: app_config.h:59
int pulsar_adc_iio_remove(struct pulsar_adc_iio_dev *iio_dev)
Release resources.
Definition: iio_pulsar_adc.c:218
struct iio_device * iio_dev
Definition: iio_lt7170.h:51
Header file for the LTM4686 IIO Driver.
Driver for the Analog Devices AXI-DMAC core.
#define DAC_DDR_BASEADDR
Definition: parameters.h:41
IIO example header file for max22190.
struct no_os_uart_init_param adxl355_uart_ip
Definition: common_data.c:42
#define ADRV9025_TX_JESD_CONVS_PER_DEVICE
Definition: app_config.h:52
struct adt7420_init_param adt7420_user_init
Definition: common_data.c:63
int max22196_iio_init(struct max22196_iio_desc **iio_desc, struct max22196_iio_desc_init_param *init_param)
Initializes the MAX22196 IIO descriptor.
Definition: iio_max22196.c:825
Definition: iio_ad738x.h:29
AD7091r8 IIO device descriptor structure.
Definition: iio_ad7091r8.h:61
void iio_axi_dac_get_dev_descriptor(struct iio_axi_dac_desc *desc, struct iio_device **dev_descriptor)
Create structure describing a device, channels and attributes.
Definition: iio_axi_dac.c:646
struct iio_device * iio_dev
Definition: iio_ltc4162l.h:44
int adt7420_iio_init(struct adt7420_iio_dev **iio_dev, struct adt7420_iio_init_param *init_param)
Initializes the adt7420 IIO driver.
Definition: iio_adt7420.c:135
Definition: iio_max31827.h:47
int max11205_iio_init(struct max11205_iio_dev **iio_dev, struct max11205_iio_dev_init_param *init_param)
Initializes the max11205 iio driver.
Definition: iio_max11205.c:252
struct no_os_uart_init_param ad463x_uart_ip
Definition: common_data.c:48
Structure holding the ADP1050 IIO initalization parameter.
Definition: iio_adp1050.h:51
enum ad7091r8_device_id device_id
Definition: ad7091r8.h:194
Descriptor that stores a iio specific state.
Definition: iio_ad74413r.h:75
uint32_t axi_jesd204_tx_status_read(struct axi_jesd204_tx *jesd)
Read status of the JESD204 Transmit Peripherial.
Definition: axi_jesd204_tx.c:170
struct iio_device * iio_dev
Definition: iio_lt8722.h:46
Definition: axi_dac_core.h:68
struct jesd204_dev * jdev
Definition: ad9528.h:492
struct max31827_init_param max31827_ip
Definition: common_data.c:55
#define ADRV9025_DEVICE_CLK_KHZ
Definition: app_config.h:47
Header file of iio_axi_adc.
Definition: altera_adxcvr.h:102
Header file of IIO MAX14916 Driver.
struct adxl313_dev * adxl313_dev
Definition: iio_adxl313.h:49
struct adf4382_init_param * adf4382_dev_init
Definition: iio_adf4382.h:44
Header file for ad469x Driver.
#define DATA_BUFFER_SIZE
Definition: iio_example.c:45
struct max11205_init_param * max11205_dev_init
Definition: iio_max11205.h:60
@ MAX14906_IN
Definition: max14906.h:86
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
const char * name
Definition: altera_adxcvr.h:103
Header file of IIO ADXL355 Driver.
#define DATA_BUFFER_SIZE
Definition: iio_example.c:44
struct max149x6_init_param max14916_ip
Definition: common_data.c:53
Structure holding the LT7182S IIO initialization parameter.
Definition: iio_lt7182s.h:51
struct no_os_uart_init_param max22017_uart_ip
Definition: common_data.c:35
struct axi_dmac * tx_dmac
Definition: iio_axi_dac.h:75
int lt8491_iio_remove(struct lt8491_iio_device *iio_device)
Free resources allocated by the init function.
Definition: iio_lt8491.c:500
num_channels
Definition: ad3552r.h:240
struct axi_adc_init rx_adc_init
Definition: main.c:144
@ AD74413R_DIGITAL_INPUT
Definition: ad74413r.h:201
MAX22196 IIO initalization parameter.
Definition: iio_max22196.h:59
@ MAX11205A
Definition: iio_max11205.h:45
struct ad74413r_init_param * ad74413r_init_param
Definition: iio_ad74413r.h:91
struct ad7091r8_init_param * ad7091r8_dev_init
Definition: iio_ad7091r8.h:70
Device driver handler.
Definition: adxrs290.h:174
enum adxl313_type dev_type
Definition: adxl313.h:494
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
struct iio_device * iio_dev
Definition: iio_adt75.h:50
IIO example header file for max22196.
Init parameter for the iio descriptor.
Definition: iio_ad74413r.h:90
int adf4368_iio_init(struct adf4368_iio_dev **iio_dev, struct adf4368_iio_dev_init_param *init_param)
Initializes the ADF4368 IIO driver.
Definition: iio_adf4368.c:641
struct no_os_spi_init_param spi_init
Definition: ad9528.h:499
int32_t ad463x_remove(struct ad463x_dev *dev)
Free the memory allocated by ad463x_init().
Definition: ad463x.c:946
@ IIO_VOLTAGE
Definition: iio_types.h:65
@ AD74412R
Definition: ad74413r.h:176
Implementation of ADXRS290 iio.
#define REF_MODE_EXT_REF
Definition: ad9528.h:270
Header file for PULSAR_ADC IIO interface.
Header file of the IIO ADT75 Driver.
int iio_app_run(struct iio_app_desc *app)
Definition: iio_axi_dac.h:53
int ltm4686_iio_remove(struct ltm4686_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_ltm4686.c:719
int32_t ad469x_remove(struct ad469x_dev *dev)
Free the memory allocated by ad469x_init().
Definition: ad469x.c:1194
struct max22200_init_param max22200_ip
Definition: common_data.c:61
Structure holding the LTM4686 IIO device descriptor.
Definition: iio_ltm4686.h:43
struct adxl367_init_param * adxl367_initial_param
Definition: iio_adxl367.h:52
Structure representing an ad469x device.
Definition: ad469x.h:305
int lt8491_iio_init(struct lt8491_iio_device **iio_device, struct lt8491_iio_init_param *iio_init_param)
Initializes the LT8491 IIO driver.
Definition: iio_lt8491.c:451
struct adxcvr * rx_adxcvr
Definition: app_jesd.c:52
struct axi_dmac * axi_dmac
Definition: ad796x.h:88
int ad796x_init(struct ad796x_dev **device, struct ad796x_init_param *init_param)
Initialize the device.
Definition: ad796x.c:159
struct axi_dac * tx_dac
Definition: iio_axi_dac.h:73
int max22200_iio_remove(struct max22200_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_max22200.c:1080
#define ADC_CHANNELS
Definition: iio_timer_trigger_example.h:41
int32_t iio_axi_dac_remove(struct iio_axi_dac_desc *desc)
Release resources.
Definition: iio_axi_dac.c:699
#define RX_XCVR_BASEADDR
Definition: parameters.h:66
Definition: adt7420.h:151
Header file for iio example.
Header file for the LT7182S IIO Driver.
Header file of the IIO AD74413r Driver.
IIO example header for eval-adxrs290-pmdz project.
IIO example header file for adp1050 project.
int max14906_iio_remove(struct max14906_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_max14906.c:622
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
Header file for the LT7170 IIO Driver.
int ad7606_iio_init(struct ad7606_iio_dev **dev, struct ad7606_init_param *init_param)
Initialize AD7606 for IIO interfacing.
Definition: iio_ad7606.c:437
Definition: iio_ltc2983.h:52
struct ad9528_dev * ad9528_device
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
Implementation of IIO ADF4382 Driver.
#define SOURCE_VCO
Definition: ad9528.h:258
struct iio_device * iio_dev
Definition: iio_max31855.h:49
struct no_os_uart_init_param ad7091r8_uart_ip
Definition: common_data.c:42
IIO example header for adf4368 project.
#define ADC_BUFFER_SAMPLES
Definition: parameters.h:161
Header file for the ADP1050 IIO Driver.
int32_t ad469x_sequence_enable_temp(struct ad469x_dev *dev)
Enable temperature read at the end of the sequence, for standard and advanced sequencer.
Definition: ad469x.c:584
bool export_no_os_clk
Definition: ad9528.h:504
Header file of iio_ad463x.
struct no_os_uart_init_param pulsar_adc_uart_ip
Definition: common_data.c:46
Definition: axi_jesd204_tx.h:70
struct iio_device * iio_dev
Definition: iio_max31827.h:49
struct iio_device * iio_dev
Definition: iio_adxl355.h:52
#define ADRV9025_TX_JESD_CTRL_BITS_PER_SAMPLE
Definition: app_config.h:56
struct axi_dmac_init rx_dmac_init
Definition: main.c:162
struct jesd204_dev * jdev
Definition: axi_jesd204_tx.h:92
MAX22190 IIO initalization parameter.
Definition: iio_max22190.h:58
struct adf4382_init_param adf4382_ip
Definition: common_data.c:58
struct no_os_uart_init_param adf4382_uart_ip
Definition: common_data.c:36
int32_t dac_demo_init(struct dac_demo_desc **desc, struct dac_demo_init_param *param)
init function for the dac demo driver
Definition: dac_demo.c:55
@ AD74413R_CURRENT_IN_EXT
Definition: ad74413r.h:198
uint16_t num_ch
Definition: iio_types.h:252
int32_t axi_jesd204_tx_init(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:819
struct scan_type * scan_type
Definition: iio_types.h:184
#define NO_OS_BIT(x)
Definition: no_os_util.h:45
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:48
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
int iio_app_remove(struct iio_app_desc *app)
pulsar_adc IIO device structure
Definition: iio_pulsar_adc.h:53
int32_t ad9528_remove(struct ad9528_dev *dev)
Free the resources allocated by ad9528_setup().
Definition: ad9528.c:1123
struct iio_device * iio_dev
Definition: iio_adxl367.h:46
int max22190_iio_remove(struct max22190_iio_desc *iio_desc)
Free the resources allocated by max22190_iio_init().
Definition: iio_max22190.c:580
int iio_example_main()
IIO example main execution.
Definition: iio_example.c:56
const struct no_os_uart_platform_ops xil_uart_ops
Xilinx platform specific UART platform ops structure.
Definition: xilinx_uart.c:520
struct ltp8800_init_param ltp8800_ip
Definition: common_data.c:63
Structure holding the MAX22017 IIO descriptor.
Definition: iio_max22017.h:84
@ IIO_TEMP
Definition: iio_types.h:69
struct no_os_uart_init_param adp1050_uart_ip
Definition: common_data.c:35
struct axi_adc * rx_adc
Definition: iio_axi_adc.h:79
struct max31855_init_param max31855_ip
Definition: common_data.c:59
IIO example header for iio_demo project.
Header file for AD738X IIO interface.
#define AXI_ADC_MMCM_RSTN
Definition: axi_adc_core.h:46
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:334
uint8_t divider_phase
Definition: ad9528.h:343
#define SYSREF_NSHOT_8_PULSES
Definition: ad9528.h:289
#define RX_CORE_BASEADDR
Definition: parameters.h:63
struct axi_dmac_init tx_dmac_init
Definition: main.c:172
uint8_t driver_mode
Definition: ad9528.h:338
Definition: adc_demo.h:59
struct pulsar_adc_init_param * init_param
Definition: iio_pulsar_adc.h:69
struct lt7170_init_param * lt7170_init_param
Definition: iio_lt7170.h:58
#define NULL
Definition: wrapper.h:64
Definition: iio_adf4382.h:43
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
Header file for the LTP8800 IIO Driver.
struct no_os_uart_init_param adt75_uart_ip
Definition: common_data.c:42
void * dev
Definition: iio_app.h:69
Header file of iio max11205 driver.
int scan_index
Definition: iio_types.h:182
enum ad74413r_chip_id chip_id
Definition: ad74413r.h:297
IIO example header for eval-ad738x project.
struct iio_device * iio_dev
Definition: iio_ltc2983.h:49
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Structure holding the LTP8800 IIO device descriptor.
Definition: iio_ltp8800.h:43
Definition: iio_adxl313.h:55
int32_t ad463x_set_pgia_gain(struct ad463x_dev *dev, enum ad463x_pgia_gain gain_idx)
Set the PGIA gain.
Definition: ad463x.c:916
struct no_os_uart_init_param max22190_uart_ip
Definition: common_data.c:35
#define SOURCE_SYSREF_VCO
Definition: ad9528.h:260
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
int32_t iio_axi_dac_init(struct iio_axi_dac_desc **desc, struct iio_axi_dac_init_param *init)
Registers a iio_axi_dac_desc for reading/writing and parameterization of axi_dac device.
Definition: iio_axi_dac.c:659
struct iio_device * iio_dev
Definition: iio_ad7091r8.h:63
IIO example header for ad469x_fmcz project.
Device channel state.
Definition: ad74413r.h:313
Device initialization parameters.
Definition: ad463x.h:237
Header file of ADC Demo iio.
Definition: axi_jesd204_rx.h:57
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
AD796X Device structure.
Definition: ad796x.h:85
int32_t axi_adc_remove(struct axi_adc *adc)
AXI ADC Resources deallocation.
Definition: axi_adc_core.c:681
int max22017_iio_remove(struct max22017_iio_desc *iio_desc)
Definition: iio_max22017.c:775
struct ad9528_platform_data * pdata
Definition: ad9528.h:503
int ad7616_iio_remove(struct ad7616_iio_dev *dev)
Header file of iio_axi_dac.
int max31855_iio_remove(struct max31855_iio_dev *desc)
Free resources allocated by the init function.
Definition: iio_max31855.c:165
Definition: iio_ad7606.h:29
Structure holding the LT7182S IIO device descriptor.
Definition: iio_lt7182s.h:43
uint8_t device_id
Definition: no_os_uart.h:112
struct max149x6_init_param * max14906_init_param
Definition: iio_max14906.h:93
Driver for the Analog Devices AXI-JESD204-RX peripheral.
int lt7170_iio_init(struct lt7170_iio_desc **iio_desc, struct lt7170_iio_desc_init_param *init_param)
Initializes the LT7170 IIO descriptor.
Definition: iio_lt7170.c:763
int32_t ad9528_init(struct ad9528_init_param *init_param)
Initializes the AD9528.
Definition: ad9528.c:299
#define RX_JESD_BASEADDR
Definition: parameters.h:65
struct axi_dac_init tx_dac_init
Definition: main.c:155
int32_t ad463x_init(struct ad463x_dev **device, struct ad463x_init_param *init_param)
Initialize the device.
Definition: ad463x.c:687
struct axi_jesd204_rx * rx_jesd
Definition: app_jesd.c:49
Header file of MAX22190 IIO Driver.
#define ADXCVR_SYS_CLK_QPLL0
Definition: axi_adxcvr.h:50
MAX22190 IIO descriptor.
Definition: iio_max22190.h:50
struct iio_device * dev_descriptor
Definition: iio_app.h:70
struct ad7606_init_param ad7606x_init_param_serial
Definition: common_data.c:185
struct no_os_uart_init_param iio_demo_uart_ip
Definition: common_data.c:46
#define ADRV9025_LANE_RATE_KHZ
Definition: app_config.h:48
AD7091r8 IIO device initial parameters structure.
Definition: iio_ad7091r8.h:69
struct lt8722_init_param lt8722_ip
Definition: common_data.c:71
int32_t adxcvr_remove(struct adxcvr *xcvr)
adxcvr_remove
Definition: altera_adxcvr.c:489
int32_t axi_dac_remove(struct axi_dac *dac)
AXI DAC Resources deallocation.
Definition: axi_dac_core.c:1238
#define ADRV9025_TX_JESD_CONV_RESOLUTION
Definition: app_config.h:53
Header file of GPIO Interface.
int iio_example_main()
IIO example main execution.
Definition: iio_example.c:56
IIO example header for eval-adxl367z project.
struct no_os_clk_desc * clk_out
Definition: axi_adxcvr.h:93
#define DATA_BUFFER_SIZE
Definition: iio_example.c:37
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:88
struct no_os_uart_desc * uart_desc
Definition: main.c:46
Header file of AD796X Driver.
uint8_t output_dis
Definition: ad9528.h:336
struct no_os_uart_init_param ad7616_uart_ip
Definition: common_data.c:44
const char * name
Definition: axi_jesd204_tx.h:101
Definition: iio_types.h:151
Header file of IIO MAX22200 Driver.
struct no_os_irq_init_param max11205_gpio_irq_ip
Definition: common_data.c:72
#define ADRV9025_TX_JESD_OCTETS_PER_FRAME
Definition: app_config.h:50
Header file of UART interface.
int ad7091r8_iio_init(struct ad7091r8_iio_dev **iio_dev, struct ad7091r8_iio_dev_init_param *init_param)
Initializes the AD7091R8 IIO driver.
Definition: iio_ad7091r8.c:302
int adf4382_iio_remove(struct adf4382_iio_dev *dev)
Free the resources allocated by adf4382_iio_init().
Definition: iio_adf4382.c:972
uint8_t in_buff[MAX_SIZE_BASE_ADDR]
Definition: common_data.c:46
IIO example header for ad463x_fmcz project.
struct max31827_init_param * init_param
Definition: iio_max31827.h:55
struct ad74413r_channel_config channel_configs[AD74413R_N_CHANNELS]
Definition: iio_ad74413r.h:92
IIO example header file for lt8722 project.
Init parameter for the iio descriptor.
Definition: iio_adt75.h:57
struct max22196_init_param * max22196_init_param
Definition: iio_max22196.h:60
Header file of IIO ADT7420 Driver.
struct no_os_uart_init_param lt8722_uart_ip
Definition: common_data.c:35
Structure holding the LT8722 IIO device descriptor.
Definition: iio_lt8722.h:44
struct lt7170_init_param lt7170_ip
Definition: common_data.c:61
int32_t ad469x_get_num_channels(struct ad469x_dev *dev, uint8_t *num_channels)
Definition: ad469x.c:266
struct lt7182s_init_param * lt7182s_init_param
Definition: iio_lt7182s.h:52
int adxl313_iio_init(struct adxl313_iio_dev **iio_dev, struct adxl313_iio_dev_init_param *init_param)
Definition: iio_adxl313.c:1030
#define TX_JESD_BASEADDR
Definition: parameters.h:90
IIO example header for eval-ad7616 project.
Header file of utility functions.
Descriptor that stores an iio specific state.
Definition: iio_adt75.h:48
int lt7182s_iio_remove(struct lt7182s_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_lt7182s.c:892
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
#define DAC_BUFFER_SAMPLES
Definition: parameters.h:160
#define SYSREF_LEVEL_HIGH
Definition: ad9528.h:293
struct no_os_uart_init_param iio_uart_ip
Definition: common_data.c:46
int ltc4162l_iio_remove(struct ltc4162l_iio_device *iio_device)
Free resources allocated by the init function.
Definition: iio_ltc4162l.c:515
uint8_t signal_source
Definition: ad9528.h:339
IIO example header for eval-adxl355-pmdz project.
struct no_os_spi_init_param ad74413r_spi_ip
Definition: common_data.c:54
struct iio_device * iio_dev
Definition: iio_adf4368.h:40
IIO example header file for lt7182s project.
int main(void)
main
Definition: iio_example.c:88
int max31855_iio_init(struct max31855_iio_dev **iio_dev, struct max31855_iio_dev_init_param *init_param)
Initializes the MAX31855 IIO driver.
Definition: iio_max31855.c:132
#define ADRV9025_TX_JESD_FRAMES_PER_MULTIFRAME
Definition: app_config.h:51
Structure holding the LTC4162L IIO initialization parameter.
Definition: iio_ltc4162l.h:52
Definition: iio_adxl355.h:58
void iio_axi_adc_get_dev_descriptor(struct iio_axi_adc_desc *desc, struct iio_device **dev_descriptor)
Get device descriptor.
Definition: iio_axi_adc.c:463
struct iio_device adc_demo_iio_descriptor
Definition: iio_adc_demo.c:277
Definition: no_os_irq.h:123
uint8_t channel_num
Definition: ad9528.h:332
int max31827_iio_init(struct max31827_iio_device **iio_device, struct max31827_iio_init_param *iio_init_param)
Initializes the MAX31827 IIO driver.
Definition: iio_max31827.c:346
struct adt75_init_param adt75_ip
Definition: common_data.c:176
struct ad74413r_init_param ad74413r_ip
Definition: common_data.c:92
int32_t ad469x_exit_conversion_mode(struct ad469x_dev *dev)
Exit conversion mode. Enter register mode to read/write registers.
Definition: ad469x.c:673
#define DATA_BUFFER_SIZE
Definition: iio_example.c:45
Parameters definition for AD7606X-FMC.
IIO example header file for lt7170 project.
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
int adp1050_iio_remove(struct adp1050_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_adp1050.c:1269
Header file of IIO ADXL355 Driver.
Structure containing the init parameters needed by the ad469x device.
Definition: ad469x.h:254
@ AD469x_standard_seq
Definition: ad469x.h:172
IIO example header for adf4382 project.
struct iio_app_device * devices
Definition: iio_app.h:107
struct max149x6_init_param max14906_ip
Definition: common_data.c:272
Header file for pulsar_adc Driver.
JESD204B/C Transmit Peripheral Initialization Structure.
Definition: axi_jesd204_tx.h:99
int max22200_iio_init(struct max22200_iio_desc **iio_desc, struct max22200_iio_desc_init_param *init_param)
Initializes the MAX22200 IIO descriptor.
Definition: iio_max22200.c:1041
Definition: iio_ltc2983.h:47
struct no_os_clk_desc ** clk_desc
Definition: ad9528.h:490
int32_t ad9528_setup(struct ad9528_dev **device, struct ad9528_init_param init_param)
Initializes the AD9528.
Definition: ad9528.c:702
struct no_os_uart_init_param ltp8800_uart_ip
Definition: common_data.c:35
int ad7616_iio_init(struct ad7616_iio_dev **dev, struct ad7616_init_param *init_param)
const char * name
Definition: axi_adc_core.h:145
struct iio_device * iio_dev
Definition: iio_max14906.h:83
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_rx.h:104
Header file for AD7606 IIO interface.
IIO example header for AD74413R project.
Error macro definition for ARM Compiler.
uint32_t nb_devices
Definition: iio_app.h:109
@ RZERO_1850_OHM
Definition: ad9523.h:350
struct adxl355_init_param adxl355_ip
Definition: common_data.c:84
int max14916_iio_remove(struct max14916_iio_desc *iio_desc)
Free resources allocated by the init function.
Definition: iio_max14916.c:278
Definition: axi_dmac.h:110
AD796X Device initialization parameters.
Definition: ad796x.h:71
int32_t ad469x_seq_read_data(struct ad469x_dev *dev, uint32_t *buf, uint32_t samples)
Read from device when converter has the channel sequencer activated. Enter register mode to read/writ...
Definition: ad469x.c:759
struct ltp8800_init_param * ltp8800_init_param
Definition: iio_ltp8800.h:52
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_tx.h:125
@ AD74413R_VOLTAGE_IN
Definition: ad74413r.h:197
IIO example header for eval-adxl313z project.
struct no_os_uart_init_param max14916_uart_ip
Definition: common_data.c:35
bool indexed
Definition: iio_types.h:194
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:438
struct ltc2983_init_param ltc2983_ip
Definition: common_data.c:65
struct adp1050_init_param * adp1050_init_param
Definition: iio_adp1050.h:52
Structure holding the MAX22017 IIO initialization parameter.
Definition: iio_max22017.h:92
Driver for the Analog Devices AXI-JESD204-TX peripheral.
int max22190_iio_init(struct max22190_iio_desc **iio_desc, struct max22190_iio_desc_init_param *init_param)
Initializes the MAX22190 IIO Descriptor.
Definition: iio_max22190.c:546
IIO example header file for max22017.
struct adxl313_init_param * adxl313_dev_init
Definition: iio_adxl313.h:56
@ ID_ADXL314
Definition: adxl313.h:247
uint32_t dac_buffer[DAC_BUFFER_SAMPLES]
Definition: iio_example.c:71
Definition: iio_max11205.h:58
Implementation of IIO ADF4368 Driver.