no-OS
iio_sw_trigger_example.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef __IIO_SW_TRIGGER_EXAMPLE_H__
40 #define __IIO_SW_TRIGGER_EXAMPLE_H__
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 
46 /******************************************************************************/
47 /************************ Functions Declarations ******************************/
48 /******************************************************************************/
50 
51 #endif /* __IIO_SW_TRIGGER_EXAMPLE_H__ */
ad9144_init_param::pll_dac_frequency_khz
uint32_t pll_dac_frequency_khz
Definition: ad9144.h:1408
GPIO_PWDN_0
#define GPIO_PWDN_0
Definition: parameters.h:64
parameters.h
Platform dependent parameters.
altera_gpio_init_param::base_address
uint32_t base_address
Definition: altera_gpio.h:73
axi_adc_core.h
Driver for the Analog Devices AXI-ADC-CORE module.
ad9152_dev
Definition: ad9152.h:1357
ad9523_channels
ad9523_channels
Definition: parameters.h:141
adxcvr_clk_enable
int adxcvr_clk_enable(struct adxcvr *xcvr)
AXI ADXCVR Clock Enable.
Definition: axi_adxcvr.c:498
axi_dac_data_setup
int32_t axi_dac_data_setup(struct axi_dac *dac)
AXI DAC Data Setup.
Definition: axi_dac_core.c:977
ad9517_dev
Definition: ad9517.h:394
dac_init_par
struct dac_demo_init_param dac_init_par
Definition: common_data.c:62
axi_dac::name
const char * name
Definition: axi_dac_core.h:56
IIO_APP_DEVICE
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff)
Definition: iio_app.h:46
fmcdaq2_dev::ad9523_device
struct ad9523_dev * ad9523_device
Definition: fmcdaq2.c:86
ad9523_platform_data::channels
struct ad9523_channel_spec * channels
Definition: ad9523.h:456
ad9528_channel_spec::channel_divider
uint16_t channel_divider
Definition: ad9528.h:349
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
ad9250_fast_detect
struct ad9250_fast_detect_cfg ad9250_fast_detect
Definition: ad9250_cfg.h:87
main
int main(void)
main
Definition: fmcdaq3.c:128
ad9144_short_pattern_test
int32_t ad9144_short_pattern_test(struct ad9144_dev *dev, const struct ad9144_init_param *init_param)
ad9144_short_pattern_test
Definition: ad9144.c:1287
fmcdaq2_dev::gpio_dac_txen
struct no_os_gpio_desc * gpio_dac_txen
Definition: fmcdaq2.c:94
SYSREF_NSHOT_4_PULSES
#define SYSREF_NSHOT_4_PULSES
Definition: ad9528.h:291
TX_CORE_BASEADDR
#define TX_CORE_BASEADDR
Definition: parameters.h:112
fmcdaq2_dev::ad9144_jesd
struct axi_jesd204_tx * ad9144_jesd
Definition: fmcdaq2.c:100
iio_dac_demo.h
Header file of DAC Demo iio.
ad9250_fast_detect_cfg::en_fd
int8_t en_fd
Definition: ad9250.h:469
ad9680_init_param::lane_rate_kbps
uint32_t lane_rate_kbps
Definition: ad9680.h:109
adxcvr::name
const char * name
Definition: altera_adxcvr.h:96
adc_init_par
struct adc_demo_init_param adc_init_par
Definition: common_data.c:52
fmcdaq2_init_param::ad9144_dmac_param
struct axi_dmac_init ad9144_dmac_param
Definition: fmcdaq2.c:150
fmcdaq2_dev::gpio_clkd_sync
struct no_os_gpio_desc * gpio_clkd_sync
Definition: fmcdaq2.c:92
adc_desc
Adc descriptor.
Definition: aducm3029_adc.c:53
adc_demo_init
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:81
axi_jesd204_tx::name
const char * name
Definition: axi_jesd204_tx.h:77
ad9152_init_param
Definition: ad9152.h:1347
main
int main(void)
Definition: fmcadc5.c:71
GPIO_CLKD_SYNC
#define GPIO_CLKD_SYNC
Definition: parameters.h:134
altera_a10_fpll_enable
int32_t altera_a10_fpll_enable(struct altera_a10_fpll *fpll)
altera_a10_fpll_enable
Definition: clk_altera_a10_fpll.c:453
AD9680_TEST_PN9
#define AD9680_TEST_PN9
Definition: ad9680.h:77
ad9152_init_param::lane_rate_kbps
uint32_t lane_rate_kbps
Definition: ad9152.h:1354
ad9517_init_param::ad9517_st
struct ad9517_state ad9517_st
Definition: ad9517.h:406
GPIO_PS
@ GPIO_PS
Definition: xilinx_gpio.h:62
ADC_MAX_SAMPLES
#define ADC_MAX_SAMPLES
Definition: parameters.h:46
SPI_PS
@ SPI_PS
Definition: xilinx_spi.h:68
iio_ad9144.h
Header file of AD9144 iio.
axi_dac_channel::pat_data
uint32_t pat_data
Definition: axi_dac_core.h:99
ad9517_lvpecl_channel_spec
Definition: ad9517.h:339
iio_data_buffer::size
uint32_t size
Definition: iio_app.h:61
AD9625_TEST_OFF
#define AD9625_TEST_OFF
Definition: ad9625.h:70
parameters.h
Platform dependent parameters.
axi_dmac_init
Definition: axi_dmac.h:129
fmcdaq2_dev::ad9144_channels
struct axi_dac_channel ad9144_channels[2]
Definition: fmcdaq2.c:105
ad9523_platform_data::pll2_vco_diff_m1
uint8_t pll2_vco_diff_m1
Definition: ad9523.h:438
axi_dmac_init::name
const char * name
Definition: axi_dmac.h:130
GPIO_DAC_TXEN
#define GPIO_DAC_TXEN
Definition: parameters.h:132
s_i5g::ad9625_0_device
struct ad9625_dev * ad9625_0_device
Definition: axi_fmcadc5_sync.h:92
fmcdaq2_init_param::ad9144_xcvr_param
struct adxcvr_init ad9144_xcvr_param
Definition: fmcdaq2.c:140
ad9523_channel_spec::channel_num
uint8_t channel_num
Definition: ad9523.h:309
RX_0_JESD_BASEADDR
#define RX_0_JESD_BASEADDR
Definition: parameters.h:51
ad9144_init_param::num_converters
uint8_t num_converters
Definition: ad9144.h:1390
ad9517_remove
int32_t ad9517_remove(struct ad9517_dev *dev)
Free the resources allocated by ad9517_setup().
Definition: ad9517.c:225
ad9517_init_param
Definition: ad9517.h:402
no_os_spi.h
Header file of SPI Interface.
fmcdaq2_init
struct fmcdaq2_init_param fmcdaq2_init
ad9517_init_param::ad9517_type
enum ad9517_type ad9517_type
Definition: ad9517.h:407
RPOLE2_900_OHM
@ RPOLE2_900_OHM
Definition: ad9523.h:342
i5g_setup
int32_t i5g_setup(struct s_i5g **descriptor, struct s_i5g_init init_param)
Definition: axi_fmcadc5_sync.c:376
ad9625.h
Header file of AD9625 Driver.
ad9680_init_param::dcm
unsigned long dcm
Definition: ad9680.h:113
jesd204_topology_init
int jesd204_topology_init(struct jesd204_topology **topology, struct jesd204_topology_dev *devs, unsigned int devs_number)
iio_desc
Definition: iio.c:200
ad9528_platform_data::pll2_charge_pump_current_nA
uint32_t pll2_charge_pump_current_nA
Definition: ad9528.h:419
ad9528_channel_spec
Output channel configuration.
Definition: ad9528.h:334
adxcvr
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:95
ad9517.h
Header file of AD9517 Driver.
axi_adc_init
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:146
iio_app.h
Header file of iio_app.
fmcdaq2_init_param
Definition: fmcdaq2.c:135
iio_trigger_init
Definition: iio.h:83
jesd204_rx_init::lane_clk_khz
uint32_t lane_clk_khz
Definition: axi_jesd204_rx.h:105
LVDS_3_5mA
@ LVDS_3_5mA
Definition: ad9517.h:377
AXI_DAC_DATA_SEL_DDS
@ AXI_DAC_DATA_SEL_DDS
Definition: axi_dac_core.h:79
ad9250_pdata_lpc
struct ad9250_platform_data ad9250_pdata_lpc
Definition: ad9250_cfg.h:50
ad9528_platform_data::pll2_bypass_en
bool pll2_bypass_en
Definition: ad9528.h:433
axi_dmac_transfer_wait_completion
int32_t axi_dmac_transfer_wait_completion(struct axi_dmac *dmac, uint32_t timeout_ms)
Definition: axi_dmac.c:506
GPIO_RST_0
#define GPIO_RST_0
Definition: parameters.h:63
axi_jesd204_rx::jdev
struct jesd204_dev * jdev
Definition: axi_jesd204_rx.h:84
no_os_gpio_get_value
int32_t no_os_gpio_get_value(struct no_os_gpio_desc *desc, uint8_t *value)
Get the value of the specified GPIO.
Definition: no_os_gpio.c:227
ad9680_dev
Definition: ad9680.h:92
ad9680.h
Header file of AD9680 Driver.
ad9250.h
Header file of AD9250 Driver.
ad9144_dev::link_config
struct jesd204_link link_config
Definition: ad9144.h:1366
ad9625_init_param::test_samples
uint32_t test_samples[4]
Definition: ad9625.h:89
ad9528_platform_data::num_channels
uint32_t num_channels
Definition: ad9528.h:447
dac_demo_desc
Definition: dac_demo.h:64
fmcdaq2_init_param::ad9523_param
struct ad9523_init_param ad9523_param
Definition: fmcdaq2.c:136
ad9144_init_param::lane_mux
uint8_t lane_mux[8]
Definition: ad9144.h:1401
iio_data_buffer::buff
void * buff
Definition: iio_app.h:62
NO_OS_IS_ERR_VALUE
#define NO_OS_IS_ERR_VALUE(x)
Definition: no_os_error.h:56
axi_dma_transfer::transfer_done
volatile bool transfer_done
Definition: axi_dmac.h:108
no_os_delay.h
Header file of Delay functions.
dac_demo_iio_descriptor
struct iio_device dac_demo_iio_descriptor
Definition: iio_dac_demo.c:279
axi_jesd204_rx_status_read
uint32_t axi_jesd204_rx_status_read(struct axi_jesd204_rx *jesd)
Read status of the JESD204 Receive Peripherial.
Definition: axi_jesd204_rx.c:216
xil_gpio_ops
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:455
jesd204_sysref::mode
enum jesd204_sysref_mode mode
Definition: jesd204.h:61
ad9517_lvds_cmos_channel_spec
Definition: ad9517.h:361
axi_adc
AXI ADC Device Descriptor.
Definition: axi_adc_core.h:125
pr_info
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:121
iio_sw_trig_init
int iio_sw_trig_init(struct iio_sw_trig **iio_trig, struct iio_sw_trig_init_param *init_param)
Initialize software trigger.
Definition: iio_trigger.c:182
ad9523_setup
int32_t ad9523_setup(struct ad9523_dev **device, const struct ad9523_init_param *init_param)
Setup the AD9523 device.
Definition: ad9523.c:427
ADC_DDR_BASEADDR
#define ADC_DDR_BASEADDR
Definition: main.c:67
ad9528_platform_data::pll2_r1_div
uint8_t pll2_r1_div
Definition: ad9528.h:427
ad9144_init_param::prbs_type
uint32_t prbs_type
Definition: ad9144.h:1396
xil_gpio_param
struct xil_gpio_init_param xil_gpio_param
Definition: ad7616_sdz.c:86
NIOS_II_SPI
@ NIOS_II_SPI
Definition: altera_spi.h:54
no_os_spi_init_param::mode
enum no_os_spi_mode mode
Definition: no_os_spi.h:129
ad9144_datapath_prbs_test
int32_t ad9144_datapath_prbs_test(struct ad9144_dev *dev, const struct ad9144_init_param *init_param)
ad9144_datapath_prbs_test
Definition: ad9144.c:1325
ad9523_init_param::pdata
struct ad9523_platform_data * pdata
Definition: ad9523.h:489
ad9517_lvpecl_channel_spec::channel_num
uint8_t channel_num
Definition: ad9517.h:340
RX_1_CORE_BASEADDR
#define RX_1_CORE_BASEADDR
Definition: parameters.h:62
iio_ad9680.h
Header file of AD9680 iio.
axi_fmcadc5_sync.h
ad9528_platform_data::spi3wire
uint8_t spi3wire
Definition: ad9528.h:362
ad9144_init_param::jesd204_subclass
uint8_t jesd204_subclass
Definition: ad9144.h:1399
ad9528_init_param
Definition: ad9528.h:490
NO_OS_GPIO_HIGH
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:123
no_os_gpio_init_param::number
int32_t number
Definition: no_os_gpio.h:89
adc_iio_sw_trig_desc
struct iio_trigger adc_iio_sw_trig_desc
Definition: iio_adc_demo_trig.c:61
fmcdaq2_dev::ad9144_core
struct axi_dac * ad9144_core
Definition: fmcdaq2.c:104
no_os_print_log.h
Print messages helpers.
dac_iio_sw_trig_desc
struct iio_trigger dac_iio_sw_trig_desc
Definition: iio_dac_demo_trig.c:61
axi_adc::name
const char * name
Definition: axi_adc_core.h:127
ad9517_state::pdata
struct ad9517_platform_data * pdata
Definition: ad9517.h:383
ad9680_setup_jesd_fsm
int32_t ad9680_setup_jesd_fsm(struct ad9680_dev **device, const struct ad9680_init_param *init_param)
Definition: ad9680.c:299
altera_a10_fpll_init::name
const char * name
Definition: clk_altera_a10_fpll.h:58
iio_axi_adc_init_param
iio configuration.
Definition: iio_axi_adc.h:81
AD9517_DIGITAL_LOCK_DETECT
#define AD9517_DIGITAL_LOCK_DETECT
Definition: ad9517.h:218
s_i5g
Definition: axi_fmcadc5_sync.h:91
ad9144_set_nco
int32_t ad9144_set_nco(struct ad9144_dev *dev, int32_t f_carrier_khz, int16_t phase)
Definition: ad9144.c:380
fmcdaq2_dev::ad9523_channels
struct ad9523_channel_spec ad9523_channels[8]
Definition: fmcdaq2.c:90
MAX_SIZE_BASE_ADDR
#define MAX_SIZE_BASE_ADDR
Definition: main.c:63
ADC_DEVICE_CLK
@ ADC_DEVICE_CLK
Definition: parameters.h:146
ad9528_platform_data::rpole2
uint8_t rpole2
Definition: ad9528.h:437
ad9250_fast_detect_cfg
Fast Detect module configuration.
Definition: ad9250.h:463
axi_dac_core.h
Driver for the Analog Devices AXI-DAC-CORE module.
fmcdaq2_init_param::ad9680_jesd_param
struct jesd204_rx_init ad9680_jesd_param
Definition: fmcdaq2.c:144
iio_axi_dac_init_param
Definition: iio_axi_dac.h:77
axi_jesd204_rx_init
int32_t axi_jesd204_rx_init(struct axi_jesd204_rx **jesd204, const struct jesd204_rx_init *init)
Device initialization.
Definition: axi_jesd204_rx.c:835
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:53
jesd204_topology
Definition: jesd204.h:248
jesd204_topology_dev::jdev
struct jesd204_dev * jdev
Definition: jesd204.h:240
ad9625_init_param
Definition: ad9625.h:84
axi_jesd204_rx_remove
int32_t axi_jesd204_rx_remove(struct axi_jesd204_rx *jesd)
Free resoulces allocated for JESD204 RX peripheral.
Definition: axi_jesd204_rx.c:984
jesd204_rx_init::name
const char * name
Definition: axi_jesd204_rx.h:93
ad9523_channel_spec
Output channel configuration.
Definition: ad9523.h:307
RX_0_CORE_BASEADDR
#define RX_0_CORE_BASEADDR
Definition: parameters.h:53
adxcvr_init::lpm_enable
bool lpm_enable
Definition: axi_adxcvr.h:119
ADXCVR_OUTCLK_PMA
#define ADXCVR_OUTCLK_PMA
Definition: axi_adxcvr.h:60
demux_spi.h
Header file of SPI Demux Interface.
no_os_spi_init_param::platform_ops
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:132
jesd204_topology_dev
Definition: jesd204.h:239
CPOLE1_16_PF
@ CPOLE1_16_PF
Definition: ad9523.h:362
RX_1_JESD_BASEADDR
#define RX_1_JESD_BASEADDR
Definition: parameters.h:60
ad9144_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9144.h:1387
altera_a10_fpll_set_rate
int32_t altera_a10_fpll_set_rate(struct altera_a10_fpll *fpll, uint32_t rate)
altera_a10_fpll_set_rate
Definition: clk_altera_a10_fpll.c:345
NIOS_II_GPIO
@ NIOS_II_GPIO
Definition: altera_gpio.h:59
ad9528_platform_data::sysref_req_en
bool sysref_req_en
Definition: ad9528.h:415
jesd204_tx_init::device_clk_khz
uint32_t device_clk_khz
Definition: axi_jesd204_tx.h:124
ad9523_init_param
Definition: ad9523.h:485
AD9250_TEST_RAMP
#define AD9250_TEST_RAMP
Definition: ad9250.h:167
no_os_gpio_init_param::platform_ops
const struct no_os_gpio_platform_ops * platform_ops
Definition: no_os_gpio.h:93
ad9144_iio_descriptor
const struct iio_device ad9144_iio_descriptor
Definition: iio_ad9144.c:44
iio_axi_adc_desc
iio_axi_adc_descriptor
Definition: iio_axi_adc.h:59
ad9625_init_param::lane_rate_kbps
uint32_t lane_rate_kbps
Definition: ad9625.h:88
iio_sw_trigger_example.h
IIO sw trigger example header for iio_demo project.
NO_OS_GPIO_LOW
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:121
altera_spi_ops
const struct no_os_spi_platform_ops altera_spi_ops
Altera platform specific SPI platform ops structure.
Definition: altera_spi.c:163
no_os_spi_init_param::device_id
uint32_t device_id
Definition: no_os_spi.h:123
ad9250_output_format
int32_t ad9250_output_format(struct ad9250_dev *dev, int32_t format)
Specifies the output format. Note: This function modifies a shadowed register, therefore a call of ad...
Definition: ad9250.c:620
IIO_APP_TRIGGER
#define IIO_APP_TRIGGER(_name, _trig, _trig_descriptor)
Definition: iio_app.h:54
ad9152_iio_descriptor
struct iio_device const ad9152_iio_descriptor
Definition: iio_ad9152.c:44
ad9144_setup_legacy
int32_t ad9144_setup_legacy(struct ad9144_dev **device, const struct ad9144_init_param *init_param)
Definition: ad9144.c:975
ad9250_setup
int32_t ad9250_setup(struct ad9250_dev **device, struct ad9250_init_param init_param)
Configures the device.
Definition: ad9250.c:91
GPIO_DAC_RESET
#define GPIO_DAC_RESET
Definition: parameters.h:133
axi_jesd204_rx_init_jesd_fsm
int32_t axi_jesd204_rx_init_jesd_fsm(struct axi_jesd204_rx **jesd204, const struct jesd204_rx_init *init)
Device initialization, JESD FSM ON.
Definition: axi_jesd204_rx.c:911
ad9528_platform_data::sysref_k_div
uint16_t sysref_k_div
Definition: ad9528.h:409
AD9680_TEST_PN23
#define AD9680_TEST_PN23
Definition: ad9680.h:78
RX_DMA_BASEADDR
#define RX_DMA_BASEADDR
Definition: parameters.h:69
iio_app_run
int32_t iio_app_run(struct iio_ctx_attr *ctx_attrs, uint32_t nb_ctx_attr, struct iio_app_device *devices, uint32_t len)
Register devices and start an iio application.
fmcdaq2_dev::ad9144_device
struct ad9144_dev * ad9144_device
Definition: fmcdaq2.c:87
ad9152_setup
int32_t ad9152_setup(struct ad9152_dev **device, struct ad9152_init_param init_param)
ad9152_setup
Definition: ad9152.c:95
ad9517_power_mode
int32_t ad9517_power_mode(struct ad9517_dev *dev, int32_t channel, int32_t mode)
Sets the power mode of the specified channel.
Definition: ad9517.c:830
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:132
ad9517_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9517.h:404
iio_app_device::read_buff
struct iio_data_buffer * read_buff
Definition: iio_app.h:69
axi_dma_transfer
Definition: axi_dmac.h:106
ad9144_init_param::interpolation
uint8_t interpolation
Definition: ad9144.h:1392
ad9528_platform_data::vcxo_freq
uint32_t vcxo_freq
Definition: ad9528.h:360
axi_jesd204_tx_lane_clk_enable
int32_t axi_jesd204_tx_lane_clk_enable(struct axi_jesd204_tx *jesd)
JESD204 TX Lane Clock Enable.
Definition: axi_jesd204_tx.c:151
jesd204_fsm_start
int jesd204_fsm_start(struct jesd204_topology *topology, unsigned int link_idx)
ad9528_platform_data::pll2_vco_div_m1
uint8_t pll2_vco_div_m1
Definition: ad9528.h:431
fmcdaq2_dev::ad9680_xcvr
struct adxcvr * ad9680_xcvr
Definition: fmcdaq2.c:98
axi_adxcvr.h
Driver for the ADI AXI-ADXCVR Module.
ad9152_init_param::prbs_type
uint32_t prbs_type
Definition: ad9152.h:1353
iio_axi_adc_init
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:487
no_os_error.h
Error codes definition.
axi_jesd204_tx_remove
int32_t axi_jesd204_tx_remove(struct axi_jesd204_tx *jesd)
Free resoulces allocated for JESD204 TX peripheral.
Definition: axi_jesd204_tx.c:875
s_i5g_init::ad9625_0_device
struct ad9625_dev * ad9625_0_device
Definition: axi_fmcadc5_sync.h:101
DAC_DEVICE_SYSREF
@ DAC_DEVICE_SYSREF
Definition: parameters.h:143
ad9528_platform_data::sysref_nshot_mode
uint8_t sysref_nshot_mode
Definition: ad9528.h:411
ad9144_init_param::jesd204_mode
uint8_t jesd204_mode
Definition: ad9144.h:1398
ad9144_status
int32_t ad9144_status(struct ad9144_dev *dev)
ad9144_status - return the status of the JESD interface
Definition: ad9144.c:1248
altera_gpio_ops
const struct no_os_gpio_platform_ops altera_gpio_ops
Altera platform specific GPIO platform ops structure.
Definition: altera_gpio.c:258
fmcdaq2_reconfig
int fmcdaq2_reconfig(struct ad9144_init_param *p_ad9144_param, struct adxcvr_init *ad9144_xcvr_param, struct ad9680_init_param *p_ad9680_param, struct adxcvr_init *ad9680_xcvr_param, struct ad9523_platform_data *p_ad9523_param)
Definition: fmcdaq2.c:810
axi_dac_channel
Definition: axi_dac_core.h:91
iio_sw_trigger_example_main
int iio_sw_trigger_example_main()
IIO sw trigger example main execution.
Definition: iio_sw_trigger_example.c:59
iio_app_device
Definition: iio_app.h:65
TX_XCVR_BASEADDR
#define TX_XCVR_BASEADDR
Definition: parameters.h:64
IRQ_DISABLED
@ IRQ_DISABLED
Definition: axi_dmac.h:83
ad9144_init_param::num_lanes
uint8_t num_lanes
Definition: ad9144.h:1391
ad9523_dev
Definition: ad9523.h:477
ad9523.h
Header file of AD9523 Driver.
altera_spi_init_param
Structure holding the initialization parameters for Altera platform specific SPI parameters.
Definition: altera_spi.h:62
JESD204_SYSREF_ONESHOT
@ JESD204_SYSREF_ONESHOT
Definition: jesd204.h:40
altera_adxcvr.h
Driver for the Altera ADXCVR Configuration.
fmcdaq2_dev::gpio_adc_pd
struct no_os_gpio_desc * gpio_adc_pd
Definition: fmcdaq2.c:95
GPIO_PWR_GOOD
#define GPIO_PWR_GOOD
Definition: parameters.h:71
jesd204.h
ad9528_platform_data::pll2_ndiv_a_cnt
uint8_t pll2_ndiv_a_cnt
Definition: ad9528.h:421
ad9250_state::p_fd
struct ad9250_fast_detect_cfg * p_fd
Definition: ad9250.h:499
axi_dac_init::name
const char * name
Definition: axi_dac_core.h:69
ad9250_platform_data::extrn_pdwnmode
int8_t extrn_pdwnmode
Definition: ad9250.h:271
ad9517_lvds_cmos_channels
struct ad9517_lvds_cmos_channel_spec ad9517_lvds_cmos_channels[]
Definition: ad9517_cfg.h:92
JESD204_LINKS_ALL
#define JESD204_LINKS_ALL
Definition: jesd204.h:49
ad9523_platform_data::num_channels
int32_t num_channels
Definition: ad9523.h:454
fmcdaq2
struct fmcdaq2_dev fmcdaq2
ad9528_init_param::gpio_resetb
struct no_os_gpio_init_param * gpio_resetb
Definition: ad9528.h:494
ad9680_dev::jesd204_link
struct jesd204_link jesd204_link
Definition: ad9680.h:97
fmcdaq2_dev::gpio_dac_reset
struct no_os_gpio_desc * gpio_dac_reset
Definition: fmcdaq2.c:93
ad9517_frequency
int64_t ad9517_frequency(struct ad9517_dev *dev, int32_t channel, int64_t frequency)
Sets the frequency on the specified channel.
Definition: ad9517.c:481
fmcdaq2_init_param::ad9680_param
struct ad9680_init_param ad9680_param
Definition: fmcdaq2.c:138
iio_app_device::write_buff
struct iio_data_buffer * write_buff
Definition: iio_app.h:70
AD9144_PRBS15
#define AD9144_PRBS15
Definition: ad9144.h:1356
ad9517_platform_data::ref_1_freq
int32_t ref_1_freq
Definition: ad9517.h:316
SPI_PL
@ SPI_PL
Definition: xilinx_spi.h:66
AD9517_1
@ AD9517_1
Definition: ad9517.h:347
fmcdaq2_dev::ad9680_dmac
struct axi_dmac * ad9680_dmac
Definition: fmcdaq2.c:108
ad9523_init
int32_t ad9523_init(struct ad9523_init_param *init_param)
Initialize the AD9523 data structure with the default register values.
Definition: ad9523.c:352
s_i5g::ad9625_1_device
struct ad9625_dev * ad9625_1_device
Definition: axi_fmcadc5_sync.h:93
ad9517_read
int32_t ad9517_read(struct ad9517_dev *dev, uint32_t reg_addr, uint32_t *reg_value)
Reads data from a register.
Definition: ad9517.c:282
axi_dmac.h
Driver for the Analog Devices AXI-DMAC core.
DAC_DDR_BASEADDR
#define DAC_DDR_BASEADDR
Definition: parameters.h:47
iio_data_buffer
Definition: iio_app.h:60
main
int main(void)
Definition: fmcdaq2.c:1202
axi_dac_channel::dds_frequency_0
uint32_t dds_frequency_0
Definition: axi_dac_core.h:92
ad9528_platform_data::osc_in_diff_en
uint8_t osc_in_diff_en
Definition: ad9528.h:374
fmcdaq2_dev::ad9144_xcvr
struct adxcvr * ad9144_xcvr
Definition: fmcdaq2.c:97
ad9680_dev::jdev
struct jesd204_dev * jdev
Definition: ad9680.h:96
axi_dma_transfer::src_addr
uint32_t src_addr
Definition: axi_dmac.h:110
iio_axi_dac_get_dev_descriptor
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:651
jesd204_rx_init::device_clk_khz
uint32_t device_clk_khz
Definition: axi_jesd204_rx.h:103
ad9528_platform_data
platform specific information
Definition: ad9528.h:358
app_config.h
Config file for DAQ3 project.
app_config.h
Config file for DAQ2 project.
ad9517_lvpecl_channels
struct ad9517_lvpecl_channel_spec ad9517_lvpecl_channels[]
Definition: ad9517_cfg.h:65
GPIO_PWDN_1
#define GPIO_PWDN_1
Definition: parameters.h:66
ADC_FPGA_CLK
@ ADC_FPGA_CLK
Definition: parameters.h:148
fmcdaq2_init_param::ad9680_core_param
struct axi_adc_init ad9680_core_param
Definition: fmcdaq2.c:146
axi_jesd204_tx_status_read
uint32_t axi_jesd204_tx_status_read(struct axi_jesd204_tx *jesd)
Read status of the JESD204 Transmit Peripherial.
Definition: axi_jesd204_tx.c:174
axi_dac_init
Definition: axi_dac_core.h:67
demux_spi_platform_ops
const struct no_os_spi_platform_ops demux_spi_platform_ops
Demux specific SPI platform ops structure.
Definition: demux_spi.c:56
iio_axi_adc.h
Header file of iio_axi_adc.
adxcvr_init
Definition: altera_adxcvr.h:108
axi_dac_channel::dds_scale_0
int32_t dds_scale_0
Definition: axi_dac_core.h:94
ad9144_dev
Definition: ad9144.h:1361
GPIO_RST_1
#define GPIO_RST_1
Definition: parameters.h:65
axi_dma_transfer::dest_addr
uint32_t dest_addr
Definition: axi_dmac.h:111
ad9680_iio_descriptor
struct iio_device const ad9680_iio_descriptor
Definition: iio_ad9680.c:43
SYSREF_PATTERN_CONTINUOUS
#define SYSREF_PATTERN_CONTINUOUS
Definition: ad9528.h:283
ad9250_jesd204b_cfg::jtx_in_standby
int8_t jtx_in_standby
Definition: ad9250.h:332
ad9517_platform_data
Definition: ad9517.h:314
ad9144_init_param::pll_ref_frequency_khz
uint32_t pll_ref_frequency_khz
Definition: ad9144.h:1406
ad9528_platform_data::rzero
uint8_t rzero
Definition: ad9528.h:439
no_os_gpio_remove
int32_t no_os_gpio_remove(struct no_os_gpio_desc *desc)
Free the resources allocated by no_os_gpio_get().
Definition: no_os_gpio.c:110
ad9680_init_param::sampling_frequency_hz
unsigned long long sampling_frequency_hz
Definition: ad9680.h:112
adxcvr_init::name
const char * name
Definition: altera_adxcvr.h:109
ad9523_platform_data
platform specific information
Definition: ad9523.h:374
xilinx_gpio.h
AD9250_TEST_OFF
#define AD9250_TEST_OFF
Definition: ad9250.h:159
AD9152_TEST_PN15
#define AD9152_TEST_PN15
Definition: ad9152.h:1340
ad9680_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9680.h:107
adxcvr_init::out_clk_sel
uint32_t out_clk_sel
Definition: axi_adxcvr.h:117
axi_dac
AXI DAC Device Descriptor.
Definition: axi_dac_core.h:54
fmcdaq2_init_param::ad9144_param
struct ad9144_init_param ad9144_param
Definition: fmcdaq2.c:137
AXI_DAC_DATA_SEL_PN23
@ AXI_DAC_DATA_SEL_PN23
Definition: axi_dac_core.h:85
ad9528_platform_data::sysref_pattern_mode
uint8_t sysref_pattern_mode
Definition: ad9528.h:407
AD9680_TEST_OFF
#define AD9680_TEST_OFF
Definition: ad9680.h:76
ad9528_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9528.h:492
xil_spi_init_param::type
enum xil_spi_type type
Definition: xilinx_spi.h:80
fmcdaq2_init_param::ad9144_core_param
struct axi_dac_init ad9144_core_param
Definition: fmcdaq2.c:148
iio_app_run_with_trigs
int32_t iio_app_run_with_trigs(struct iio_ctx_attr *ctx_attrs, uint32_t nb_ctx_attr, struct iio_app_device *devices, uint32_t len, struct iio_trigger_init *trigs, int32_t nb_trigs, void *irq_desc, struct iio_desc **iio_desc)
no_os_gpio_desc
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:102
clk_altera_a10_fpll.h
Driver for the Altera FPLL.
axi_dma_transfer::cyclic
enum cyclic_transfer cyclic
Definition: axi_dmac.h:109
GPIO_JESD204_SYSREF
#define GPIO_JESD204_SYSREF
Definition: parameters.h:84
ad9517_state::lvpecl_channels
struct ad9517_lvpecl_channel_spec * lvpecl_channels
Definition: ad9517.h:384
altera_a10_fpll::name
const char * name
Definition: clk_altera_a10_fpll.h:51
iio_axi_dac_desc
Definition: iio_axi_dac.h:59
ad9250_jesd204b_cfg
JESD204B interface configuration.
Definition: ad9250.h:326
GPIO_ADC_PD
#define GPIO_ADC_PD
Definition: parameters.h:131
ad9152_init_param::stpl_samples
uint32_t stpl_samples[2][4]
Definition: ad9152.h:1351
AD9250_OUT_OFFSET_BINARY
#define AD9250_OUT_OFFSET_BINARY
Definition: ad9250.h:183
ad9152_datapath_prbs_test
int32_t ad9152_datapath_prbs_test(struct ad9152_dev *dev, struct ad9152_init_param init_param)
ad9152_setup
Definition: ad9152.c:261
ad9250_state::p_jesd204b
struct ad9250_jesd204b_cfg * p_jesd204b
Definition: ad9250.h:498
iio_axi_dac_init_param::tx_dac
struct axi_dac * tx_dac
Definition: iio_axi_dac.h:79
RX_XCVR_BASEADDR
#define RX_XCVR_BASEADDR
Definition: parameters.h:71
fmcdaq2_dev::ad9144_dmac
struct axi_dmac * ad9144_dmac
Definition: fmcdaq2.c:107
ad9523_channel_spec::channel_divider
uint16_t channel_divider
Definition: ad9523.h:327
fmcdaq2_dev::ad9680_core
struct axi_adc * ad9680_core
Definition: fmcdaq2.c:103
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:78
iio_sw_trigger_example_main
int iio_sw_trigger_example_main()
IIO sw trigger example main execution.
Definition: iio_sw_trigger_example.c:59
no_os_gpio_get
int32_t no_os_gpio_get(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Obtain the GPIO decriptor.
Definition: no_os_gpio.c:55
ad9528_platform_data::cpole1
uint8_t cpole1
Definition: ad9528.h:441
ad9528_platform_data::pll2_n2_div
uint8_t pll2_n2_div
Definition: ad9528.h:429
ad9517_update
int32_t ad9517_update(struct ad9517_dev *dev)
Transfers the contents of the buffer registers into the active registers.
Definition: ad9517.c:318
ad9517_lvds_cmos_channel_spec::channel_num
uint8_t channel_num
Definition: ad9517.h:362
no_os_spi_init_param::max_speed_hz
uint32_t max_speed_hz
Definition: no_os_spi.h:125
ad9528_device
struct ad9528_dev * ad9528_device
jesd204_sysref::lmfc_offset
uint16_t lmfc_offset
Definition: jesd204.h:64
adxcvr_init::ref_rate_khz
uint32_t ref_rate_khz
Definition: axi_adxcvr.h:123
jesd204_sysref::capture_falling_edge
uint8_t capture_falling_edge
Definition: jesd204.h:62
altera_gpio_init_param
Structure holding the initialization parameters for Altera platform specific GPIO parameters.
Definition: altera_gpio.h:67
adxcvr_init::lane_rate_khz
uint32_t lane_rate_khz
Definition: altera_adxcvr.h:113
iio_sw_trig
IIO software trigger structure.
Definition: iio_trigger.h:111
axi_jesd204_tx
Definition: axi_jesd204_tx.h:75
SPI_DEVICE_ID
#define SPI_DEVICE_ID
Definition: parameters.h:76
ad9680_remove
int32_t ad9680_remove(struct ad9680_dev *dev)
Free the resources allocated by ad9680_setup().
Definition: ad9680.c:389
DAC_FPGA_SYSREF
@ DAC_FPGA_SYSREF
Definition: parameters.h:145
AD9250_TEST_PNLONG
#define AD9250_TEST_PNLONG
Definition: ad9250.h:164
fmcdaq2_dev::ad9680_device
struct ad9680_dev * ad9680_device
Definition: fmcdaq2.c:88
axi_jesd204_tx::jdev
struct jesd204_dev * jdev
Definition: axi_jesd204_tx.h:95
altera_a10_fpll_init
Definition: clk_altera_a10_fpll.h:57
axi_dac_init
int32_t axi_dac_init(struct axi_dac **dac_core, const struct axi_dac_init *init)
AXI DAC Main Initialization.
Definition: axi_dac_core.c:939
dac_demo_init
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:60
axi_jesd204_tx_init
int32_t axi_jesd204_tx_init(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:711
ad9517_setup
int32_t ad9517_setup(struct ad9517_dev **device, struct ad9517_init_param init_param)
Initializes the AD9517.
Definition: ad9517.c:57
NO
@ NO
Definition: axi_dmac.h:102
ADXCVR_SYS_CLK_CPLL
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:54
ad9528_dev
Definition: ad9528.h:480
ad9528_remove
int32_t ad9528_remove(struct ad9528_dev *dev)
Free the resources allocated by ad9528_setup().
Definition: ad9528.c:712
axi_jesd204_tx_init_jesd_fsm
int32_t axi_jesd204_tx_init_jesd_fsm(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:801
AD9152_TEST_PN7
#define AD9152_TEST_PN7
Definition: ad9152.h:1341
axi_dac_channel::dds_phase_0
uint32_t dds_phase_0
Definition: axi_dac_core.h:93
AXI_ADC_PN23A
@ AXI_ADC_PN23A
Definition: axi_adc_core.h:161
sine_lut_iq
const uint32_t sine_lut_iq[1024]
Definition: axi_dac_core.c:128
iio_axi_adc_init_param::rx_adc
struct axi_adc * rx_adc
Definition: iio_axi_adc.h:83
axi_adc_init
int32_t axi_adc_init(struct axi_adc **adc_core, const struct axi_adc_init *init)
AXI ADC Main Initialization.
Definition: axi_adc_core.c:645
axi_dmac_init
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:331
RX_CORE_BASEADDR
#define RX_CORE_BASEADDR
Definition: parameters.h:68
ad9625_test
int32_t ad9625_test(struct ad9625_dev *dev, uint32_t test_mode)
ad9625_test
Definition: ad9625.c:162
adc_demo_desc
Definition: adc_demo.h:65
ad9625_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9625.h:86
AXI_DAC_DATA_SEL_SED
@ AXI_DAC_DATA_SEL_SED
Definition: axi_dac_core.h:80
ad9250_state::pdata
struct ad9250_platform_data * pdata
Definition: ad9250.h:497
ad9144_init_param::fcenter_shift
unsigned int fcenter_shift
Definition: ad9144.h:1393
NULL
#define NULL
Definition: wrapper.h:64
DAC_DEVICE_CLK
@ DAC_DEVICE_CLK
Definition: parameters.h:142
iio_app_device::dev
void * dev
Definition: iio_app.h:67
ad9250_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9250.h:530
ad9680_init_param
Definition: ad9680.h:105
xil_spi_ops
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:458
ad9250_platform_data
Platform specific information.
Definition: ad9250.h:265
ad9523_remove
int32_t ad9523_remove(struct ad9523_dev *dev)
Free the resources allocated by ad9523_setup().
Definition: ad9523.c:730
no_os_gpio_set_value
int32_t no_os_gpio_set_value(struct no_os_gpio_desc *desc, uint8_t value)
Set the value of the specified GPIO.
Definition: no_os_gpio.c:203
ad9144_init_param::stpl_samples
uint32_t stpl_samples[4][4]
Definition: ad9144.h:1394
ad9144_init_param
Definition: ad9144.h:1385
s_i5g_init::ad9625_1_device
struct ad9625_dev * ad9625_1_device
Definition: axi_fmcadc5_sync.h:102
altera_a10_fpll
Definition: clk_altera_a10_fpll.h:50
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
ADC_FPGA_SYSREF
@ ADC_FPGA_SYSREF
Definition: parameters.h:149
iio_axi_dac_init
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:664
iio_adc_demo.h
Header file of ADC Demo iio.
ad9152.h
Header file of AD9152 Driver.
axi_jesd204_rx
Definition: axi_jesd204_rx.h:62
altera_a10_fpll_init
int32_t altera_a10_fpll_init(struct altera_a10_fpll **a10_fpll, const struct altera_a10_fpll_init *init)
altera_a10_fpll_init
Definition: clk_altera_a10_fpll.c:471
ad9625_dev
Definition: ad9625.h:92
ad9528_init_param::pdata
struct ad9528_platform_data * pdata
Definition: ad9528.h:496
ad9144_dev::jdev
struct jesd204_dev * jdev
Definition: ad9144.h:1365
ad9144_init_param::spi3wire
uint8_t spi3wire
Definition: ad9144.h:1389
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:77
ad9625_setup
int32_t ad9625_setup(struct ad9625_dev **device, struct ad9625_init_param init_param)
ad9625_setup
Definition: ad9625.c:93
fmcdaq2_init_param::ad9680_dmac_param
struct axi_dmac_init ad9680_dmac_param
Definition: fmcdaq2.c:151
ad9152_short_pattern_test
int32_t ad9152_short_pattern_test(struct ad9152_dev *dev, struct ad9152_init_param init_param)
ad9152_setup
Definition: ad9152.c:221
iio_axi_dac.h
Header file of iio_axi_dac.
fmcdaq2_dev
Definition: fmcdaq2.c:85
altera_a10_fpll_disable
void altera_a10_fpll_disable(struct altera_a10_fpll *fpll)
altera_a10_fpll_disable
Definition: clk_altera_a10_fpll.c:463
axi_jesd204_rx.h
Driver for the Analog Devices AXI-JESD204-RX peripheral.
ad9528_init
int32_t ad9528_init(struct ad9528_init_param *init_param)
Initializes the AD9528.
Definition: ad9528.c:295
RX_JESD_BASEADDR
#define RX_JESD_BASEADDR
Definition: parameters.h:70
ad9528_platform_data::pll2_ndiv_b_cnt
uint8_t pll2_ndiv_b_cnt
Definition: ad9528.h:423
ad9680_setup
int32_t ad9680_setup(struct ad9680_dev **device, const struct ad9680_init_param *init_param)
ad9680_setup
Definition: ad9680.c:225
xil_gpio_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:70
ADXCVR_SYS_CLK_QPLL0
#define ADXCVR_SYS_CLK_QPLL0
Definition: axi_adxcvr.h:56
ad9517_pdata_lpc
struct ad9517_platform_data ad9517_pdata_lpc
Definition: ad9517_cfg.h:47
AD9517_REG_PLL_READBACK
#define AD9517_REG_PLL_READBACK
Definition: ad9517.h:81
TX_DMA_BASEADDR
#define TX_DMA_BASEADDR
Definition: parameters.h:116
ad9528_platform_data::channels
struct ad9528_channel_spec * channels
Definition: ad9528.h:449
adxcvr_remove
int32_t adxcvr_remove(struct adxcvr *xcvr)
adxcvr_remove
Definition: altera_adxcvr.c:494
no_os_gpio_init_param::extra
void * extra
Definition: no_os_gpio.h:95
LVPECL_780mV
@ LVPECL_780mV
Definition: ad9517.h:356
no_os_gpio.h
Header file of GPIO Interface.
ad9144_init_param::jesd204_scrambling
uint8_t jesd204_scrambling
Definition: ad9144.h:1400
adxcvr_init::sys_clk_sel
uint32_t sys_clk_sel
Definition: axi_adxcvr.h:113
ad9144_init_param::pll_enable
uint8_t pll_enable
Definition: ad9144.h:1404
axi_dac_channel::sel
enum axi_dac_data_sel sel
Definition: axi_dac_core.h:100
jesd204_rx_init
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:91
ad9517_state::lvds_cmos_channels
struct ad9517_lvds_cmos_channel_spec * lvds_cmos_channels
Definition: ad9517.h:385
ad9250_test_mode
int32_t ad9250_test_mode(struct ad9250_dev *dev, int32_t mode)
Sets the ADC's test mode.
Definition: ad9250.c:490
AXI_DAC_DATA_SEL_PN31
@ AXI_DAC_DATA_SEL_PN31
Definition: axi_dac_core.h:86
jesd204_tx_init::name
const char * name
Definition: axi_jesd204_tx.h:104
DAC_FPGA_CLK
@ DAC_FPGA_CLK
Definition: parameters.h:144
ad9250_init_param
Definition: ad9250.h:528
axi_dac_channel::dds_dual_tone
uint32_t dds_dual_tone
Definition: axi_dac_core.h:98
GPIO_PL
@ GPIO_PL
Definition: xilinx_gpio.h:60
axi_adc_pn_mon
int32_t axi_adc_pn_mon(struct axi_adc *adc, enum axi_adc_pn_sel sel, uint32_t delay_ms)
Monitor the AXI ADC PN Sequence.
Definition: axi_adc_core.c:140
axi_dmac_transfer_start
int32_t axi_dmac_transfer_start(struct axi_dmac *dmac, struct axi_dma_transfer *dma_transfer)
Definition: axi_dmac.c:378
axi_dac_load_custom_data
int32_t axi_dac_load_custom_data(struct axi_dac *dac, const uint32_t *custom_data_iq, uint32_t custom_tx_count, uint32_t address)
AXI DAC Load custom data.
Definition: axi_dac_core.c:851
ADXCVR_REFCLK_DIV2
#define ADXCVR_REFCLK_DIV2
Definition: axi_adxcvr.h:62
ad9144_setup_jesd_fsm
int32_t ad9144_setup_jesd_fsm(struct ad9144_dev **device, const struct ad9144_init_param *init_param)
Definition: ad9144.c:1132
AXI_DAC_DATA_SEL_DMA
@ AXI_DAC_DATA_SEL_DMA
Definition: axi_dac_core.h:81
axi_jesd204_rx::name
const char * name
Definition: axi_jesd204_rx.h:64
ad9152_remove
int32_t ad9152_remove(struct ad9152_dev *dev)
Free the resources allocated by ad9152_setup().
Definition: ad9152.c:206
TX_JESD_BASEADDR
#define TX_JESD_BASEADDR
Definition: parameters.h:95
no_os_util.h
Header file of utility functions.
ad9250_remove
int32_t ad9250_remove(struct ad9250_dev *dev)
Free the resources allocated by ad9250_setup().
Definition: ad9250.c:193
ad9152_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9152.h:1349
ad9523_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9523.h:487
AD9144_PRBS7
#define AD9144_PRBS7
Definition: ad9144.h:1355
no_os_spi_init_param::extra
void * extra
Definition: no_os_spi.h:134
ad9528_platform_data::pll1_bypass_en
uint8_t pll1_bypass_en
Definition: ad9528.h:399
ADC_DEVICE_SYSREF
@ ADC_DEVICE_SYSREF
Definition: parameters.h:147
s_i5g_init
Definition: axi_fmcadc5_sync.h:100
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:66
altera_spi_init_param::type
enum spi_type type
Definition: altera_spi.h:64
ad9680_test
int32_t ad9680_test(struct ad9680_dev *dev, uint32_t test_mode)
Definition: ad9680.c:101
ad9152_init_param::interpolation
uint32_t interpolation
Definition: ad9152.h:1352
xilinx_spi.h
iio_axi_adc_get_dev_descriptor
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:474
adc_demo_iio_descriptor
struct iio_device adc_demo_iio_descriptor
Definition: iio_adc_demo.c:281
ad9144_init_param::lane_rate_kbps
uint32_t lane_rate_kbps
Definition: ad9144.h:1395
ad9250_init_param::ad9250_st_init
struct ad9250_state ad9250_st_init
Definition: ad9250.h:532
ad9528_channel_spec::channel_num
uint8_t channel_num
Definition: ad9528.h:336
no_os_gpio_direction_output
int32_t no_os_gpio_direction_output(struct no_os_gpio_desc *desc, uint8_t value)
Enable the output direction of the specified GPIO.
Definition: no_os_gpio.c:153
AD9625_TEST_PNLONG
#define AD9625_TEST_PNLONG
Definition: ad9625.h:75
jesd204_tx_init
JESD204B/C Transmit Peripheral Initialization Structure.
Definition: axi_jesd204_tx.h:102
axi_dma_transfer::size
uint32_t size
Definition: axi_dmac.h:107
ad9144.h
Header file of AD9144 Driver.
xil_gpio_init_param::type
enum xil_gpio_type type
Definition: xilinx_gpio.h:72
iio_ad9152.h
Header file of AD9152 iio.
ad9625_remove
int32_t ad9625_remove(struct ad9625_dev *dev)
ad9625_remove
Definition: ad9625.c:148
fmcdaq3_reconfig
void fmcdaq3_reconfig(struct ad9152_init_param *ad9152_param, struct adxcvr_init *ad9152_xcvr_param, struct ad9680_init_param *ad9680_param, struct adxcvr_init *ad9680_xcvr_param, struct ad9528_platform_data *ad9528_param)
Definition: fmcdaq3.c:82
ad9250_dev
Definition: ad9250.h:520
ad9528_setup
int32_t ad9528_setup(struct ad9528_dev **device, struct ad9528_init_param init_param)
Initializes the AD9528.
Definition: ad9528.c:355
axi_adc_init::name
const char * name
Definition: axi_adc_core.h:148
AXI_ADC_PN9
@ AXI_ADC_PN9
Definition: axi_adc_core.h:160
fmcdaq2_dev::ad9680_jesd
struct axi_jesd204_rx * ad9680_jesd
Definition: fmcdaq2.c:101
axi_jesd204_rx_lane_clk_enable
int32_t axi_jesd204_rx_lane_clk_enable(struct axi_jesd204_rx *jesd)
JESD204 RX Lane Clock Enable.
Definition: axi_jesd204_rx.c:193
ad9144_remove
int32_t ad9144_remove(struct ad9144_dev *dev)
Definition: ad9144.c:1234
ad9152_status
int32_t ad9152_status(struct ad9152_dev *dev)
ad9152_setup
Definition: ad9152.c:301
RZERO_1850_OHM
@ RZERO_1850_OHM
Definition: ad9523.h:356
LVDS
@ LVDS
Definition: ad9517.h:371
jesd204_tx_init::lane_clk_khz
uint32_t lane_clk_khz
Definition: axi_jesd204_tx.h:126
axi_dmac
Definition: axi_dmac.h:114
fmcdaq2_init_param::ad9680_xcvr_param
struct adxcvr_init ad9680_xcvr_param
Definition: fmcdaq2.c:141
adxcvr_init::parent_rate_khz
uint32_t parent_rate_khz
Definition: altera_adxcvr.h:114
ad9250_transfer
int32_t ad9250_transfer(struct ad9250_dev *dev)
Initiates a transfer and waits for the operation to end. Note: This function may be called after a sh...
Definition: ad9250.c:293
main
int main(void)
main
Definition: fmcjesdadc1.c:72
adxcvr_init
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:443
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:121
axi_jesd204_tx.h
Driver for the Analog Devices AXI-JESD204-TX peripheral.
fmcdaq2_init_param::ad9144_jesd_param
struct jesd204_tx_init ad9144_jesd_param
Definition: fmcdaq2.c:143
ad9680_init_param::sysref_mode
unsigned long sysref_mode
Definition: ad9680.h:114
AXI_ADC_PN23
@ AXI_ADC_PN23
Definition: axi_adc_core.h:164