no-OS
iio_sw_trigger_example.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __IIO_SW_TRIGGER_EXAMPLE_H__
34 #define __IIO_SW_TRIGGER_EXAMPLE_H__
35 
36 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 
40 /******************************************************************************/
41 /************************ Functions Declarations ******************************/
42 /******************************************************************************/
44 
45 #endif /* __IIO_SW_TRIGGER_EXAMPLE_H__ */
ad9144_init_param::pll_dac_frequency_khz
uint32_t pll_dac_frequency_khz
Definition: ad9144.h:1402
GPIO_PWDN_0
#define GPIO_PWDN_0
Definition: parameters.h:59
parameters.h
Platform dependent parameters.
altera_gpio_init_param::base_address
uint32_t base_address
Definition: altera_gpio.h:67
axi_adc_core.h
Driver for the Analog Devices AXI-ADC-CORE module.
ad9152_dev
Definition: ad9152.h:1351
ad9523_channels
ad9523_channels
Definition: parameters.h:145
adxcvr_clk_enable
int adxcvr_clk_enable(struct adxcvr *xcvr)
AXI ADXCVR Clock Enable.
Definition: axi_adxcvr.c:479
axi_dac_data_setup
int32_t axi_dac_data_setup(struct axi_dac *dac)
AXI DAC Data Setup.
Definition: axi_dac_core.c:1193
ad9517_dev
Definition: ad9517.h:388
dac_init_par
struct dac_demo_init_param dac_init_par
Definition: common_data.c:68
axi_dac::name
const char * name
Definition: axi_dac_core.h:55
fmcdaq2_dev::ad9523_device
struct ad9523_dev * ad9523_device
Definition: fmcdaq2.c:82
ad9523_platform_data::channels
struct ad9523_channel_spec * channels
Definition: ad9523.h:450
iio_app_init_param
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
ad9528_channel_spec::channel_divider
uint16_t channel_divider
Definition: ad9528.h:345
no_os_alloc.h
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
ad9250_fast_detect
struct ad9250_fast_detect_cfg ad9250_fast_detect
Definition: ad9250_cfg.h:81
main
int main(void)
main
Definition: fmcdaq3.c:125
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:1282
fmcdaq2_dev::gpio_dac_txen
struct no_os_gpio_desc * gpio_dac_txen
Definition: fmcdaq2.c:90
SYSREF_NSHOT_4_PULSES
#define SYSREF_NSHOT_4_PULSES
Definition: ad9528.h:287
fmcdaq2_dev::ad9144_jesd
struct axi_jesd204_tx * ad9144_jesd
Definition: fmcdaq2.c:96
iio_dac_demo.h
Header file of DAC Demo iio.
ad9250_fast_detect_cfg::en_fd
int8_t en_fd
Definition: ad9250.h:463
ad9680_init_param::lane_rate_kbps
uint32_t lane_rate_kbps
Definition: ad9680.h:103
adxcvr::name
const char * name
Definition: altera_adxcvr.h:90
adc_init_par
struct adc_demo_init_param adc_init_par
Definition: common_data.c:58
iio_app_init_param::uart_init_params
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
IIO_APP_DEVICE
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id)
Definition: iio_app.h:47
fmcdaq2_init_param::ad9144_dmac_param
struct axi_dmac_init ad9144_dmac_param
Definition: fmcdaq2.c:147
fmcdaq2_dev::gpio_clkd_sync
struct no_os_gpio_desc * gpio_clkd_sync
Definition: fmcdaq2.c:88
adc_desc
Adc descriptor.
Definition: aducm3029_adc.c:48
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:76
axi_jesd204_tx::name
const char * name
Definition: axi_jesd204_tx.h:72
ad9152_init_param
Definition: ad9152.h:1341
main
int main(void)
Definition: fmcadc5.c:66
GPIO_CLKD_SYNC
#define GPIO_CLKD_SYNC
Definition: parameters.h:138
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:448
AD9680_TEST_PN9
#define AD9680_TEST_PN9
Definition: ad9680.h:71
ad9152_init_param::lane_rate_kbps
uint32_t lane_rate_kbps
Definition: ad9152.h:1348
axi_jesd204_rx_init_legacy
int32_t axi_jesd204_rx_init_legacy(struct axi_jesd204_rx **jesd204, const struct jesd204_rx_init *init)
Device initialization.
Definition: axi_jesd204_rx.c:835
ad9517_init_param::ad9517_st
struct ad9517_state ad9517_st
Definition: ad9517.h:400
GPIO_PS
@ GPIO_PS
Definition: xilinx_gpio.h:56
ADC_MAX_SAMPLES
#define ADC_MAX_SAMPLES
Definition: parameters.h:40
SPI_PS
@ SPI_PS
Definition: xilinx_spi.h:62
iio_ad9144.h
Header file of AD9144 iio.
axi_dac_channel::pat_data
uint32_t pat_data
Definition: axi_dac_core.h:104
ad9517_lvpecl_channel_spec
Definition: ad9517.h:333
iio_data_buffer::size
uint32_t size
Definition: iio_app.h:63
AD9625_TEST_OFF
#define AD9625_TEST_OFF
Definition: ad9625.h:64
parameters.h
Platform dependent parameters.
axi_dmac_init
Definition: axi_dmac.h:127
fmcdaq2_dev::ad9144_channels
struct axi_dac_channel ad9144_channels[2]
Definition: fmcdaq2.c:101
iio_app_desc::iio_desc
struct iio_desc * iio_desc
Definition: iio_app.h:86
ad9523_platform_data::pll2_vco_diff_m1
uint8_t pll2_vco_diff_m1
Definition: ad9523.h:432
axi_dmac_init::name
const char * name
Definition: axi_dmac.h:128
GPIO_DAC_TXEN
#define GPIO_DAC_TXEN
Definition: parameters.h:136
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:137
ad9523_channel_spec::channel_num
uint8_t channel_num
Definition: ad9523.h:303
UART_PL
@ UART_PL
Definition: xilinx_uart.h:57
RX_0_JESD_BASEADDR
#define RX_0_JESD_BASEADDR
Definition: parameters.h:45
ad9144_init_param::num_converters
uint8_t num_converters
Definition: ad9144.h:1384
ad9517_remove
int32_t ad9517_remove(struct ad9517_dev *dev)
Free the resources allocated by ad9517_setup().
Definition: ad9517.c:220
ad9517_init_param
Definition: ad9517.h:396
no_os_spi.h
Header file of SPI Interface.
jesd204_clk::xcvr
struct adxcvr * xcvr
Definition: jesd204_clk.h:48
NO_OS_UART_STOP_1_BIT
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
xil_uart_init_param::type
enum xil_uart_type type
Definition: xilinx_uart.h:69
fmcdaq2_init
struct fmcdaq2_init_param fmcdaq2_init
ad9517_init_param::ad9517_type
enum ad9517_type ad9517_type
Definition: ad9517.h:401
RPOLE2_900_OHM
@ RPOLE2_900_OHM
Definition: ad9523.h:336
i5g_setup
int32_t i5g_setup(struct s_i5g **descriptor, struct s_i5g_init init_param)
Definition: axi_fmcadc5_sync.c:377
ad9625.h
Header file of AD9625 Driver.
ad9680_init_param::dcm
unsigned long dcm
Definition: ad9680.h:107
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:204
ad9528_platform_data::pll2_charge_pump_current_nA
uint32_t pll2_charge_pump_current_nA
Definition: ad9528.h:418
ad9528_channel_spec
Output channel configuration.
Definition: ad9528.h:330
adxcvr
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:89
ad9517.h
Header file of AD9517 Driver.
axi_adc_init
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:143
iio_app.h
Header file of iio_app.
fmcdaq2_init_param
Definition: fmcdaq2.c:132
iio_trigger_init
Definition: iio.h:76
ad9528_spi_param
const struct no_os_spi_init_param ad9528_spi_param
Definition: common_data.c:45
jesd204_rx_init::lane_clk_khz
uint32_t lane_clk_khz
Definition: axi_jesd204_rx.h:102
LVDS_3_5mA
@ LVDS_3_5mA
Definition: ad9517.h:371
AXI_DAC_DATA_SEL_DDS
@ AXI_DAC_DATA_SEL_DDS
Definition: axi_dac_core.h:84
ad9250_pdata_lpc
struct ad9250_platform_data ad9250_pdata_lpc
Definition: ad9250_cfg.h:44
ad9528_platform_data::pll2_bypass_en
bool pll2_bypass_en
Definition: ad9528.h:432
xilinx_uart.h
axi_dmac_transfer_wait_completion
int32_t axi_dmac_transfer_wait_completion(struct axi_dmac *dmac, uint32_t timeout_ms)
Definition: axi_dmac.c:525
GPIO_RST_0
#define GPIO_RST_0
Definition: parameters.h:58
iio_app_desc
IIO application descriptor.
Definition: iio_app.h:80
axi_jesd204_rx::jdev
struct jesd204_dev * jdev
Definition: axi_jesd204_rx.h:81
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:221
iio_sw_trig::iio_desc
struct iio_desc * iio_desc
Definition: iio_trigger.h:107
ad9680_dev
Definition: ad9680.h:86
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:1360
ad9625_init_param::test_samples
uint32_t test_samples[4]
Definition: ad9625.h:83
ad9528_platform_data::num_channels
uint32_t num_channels
Definition: ad9528.h:446
dac_demo_desc
Definition: dac_demo.h:58
fmcdaq2_init_param::ad9523_param
struct ad9523_init_param ad9523_param
Definition: fmcdaq2.c:133
ad9144_init_param::lane_mux
uint8_t lane_mux[8]
Definition: ad9144.h:1395
iio_data_buffer::buff
void * buff
Definition: iio_app.h:64
NO_OS_IS_ERR_VALUE
#define NO_OS_IS_ERR_VALUE(x)
Definition: no_os_error.h:50
axi_dma_transfer::transfer_done
volatile bool transfer_done
Definition: axi_dmac.h:104
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:273
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:212
xil_gpio_ops
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:450
jesd204_sysref::mode
enum jesd204_sysref_mode mode
Definition: jesd204.h:61
ad9517_lvds_cmos_channel_spec
Definition: ad9517.h:355
axi_adc
AXI ADC Device Descriptor.
Definition: axi_adc_core.h:122
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:177
ad9523_setup
int32_t ad9523_setup(struct ad9523_dev **device, const struct ad9523_init_param *init_param)
Setup the AD9523 device.
Definition: ad9523.c:422
rx_jesd_clk
struct jesd204_clk rx_jesd_clk
Definition: fmcdaq2.c:129
ADC_DDR_BASEADDR
#define ADC_DDR_BASEADDR
Definition: main.c:62
ad9528_platform_data::pll2_r1_div
uint8_t pll2_r1_div
Definition: ad9528.h:426
ad9144_init_param::prbs_type
uint32_t prbs_type
Definition: ad9144.h:1390
NIOS_II_SPI
@ NIOS_II_SPI
Definition: altera_spi.h:48
no_os_spi_init_param::mode
enum no_os_spi_mode mode
Definition: no_os_spi.h:148
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:1320
ad9523_init_param::pdata
struct ad9523_platform_data * pdata
Definition: ad9523.h:483
ad9517_lvpecl_channel_spec::channel_num
uint8_t channel_num
Definition: ad9517.h:334
RX_1_CORE_BASEADDR
#define RX_1_CORE_BASEADDR
Definition: parameters.h:56
iio_ad9680.h
Header file of AD9680 iio.
axi_fmcadc5_sync.h
ad9528_platform_data::spi3wire
uint8_t spi3wire
Definition: ad9528.h:358
ad9144_init_param::jesd204_subclass
uint8_t jesd204_subclass
Definition: ad9144.h:1393
UART_PS
@ UART_PS
Definition: xilinx_uart.h:59
ad9528_init_param
Definition: ad9528.h:497
NO_OS_GPIO_HIGH
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:117
no_os_gpio_init_param::number
int32_t number
Definition: no_os_gpio.h:83
adc_iio_sw_trig_desc
struct iio_trigger adc_iio_sw_trig_desc
Definition: iio_adc_demo_trig.c:55
fmcdaq2_dev::ad9144_core
struct axi_dac * ad9144_core
Definition: fmcdaq2.c:100
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:55
axi_adc::name
const char * name
Definition: axi_adc_core.h:124
ad9517_state::pdata
struct ad9517_platform_data * pdata
Definition: ad9517.h:377
ad9680_setup_jesd_fsm
int32_t ad9680_setup_jesd_fsm(struct ad9680_dev **device, const struct ad9680_init_param *init_param)
Definition: ad9680.c:294
altera_a10_fpll_init::name
const char * name
Definition: clk_altera_a10_fpll.h:52
iio_axi_adc_init_param
iio configuration.
Definition: iio_axi_adc.h:77
AD9517_DIGITAL_LOCK_DETECT
#define AD9517_DIGITAL_LOCK_DETECT
Definition: ad9517.h:212
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:375
fmcdaq2_dev::ad9523_channels
struct ad9523_channel_spec ad9523_channels[8]
Definition: fmcdaq2.c:86
ADC_DEVICE_CLK
@ ADC_DEVICE_CLK
Definition: parameters.h:150
fmcdaq2_init_param::jtx_link_rx
struct link_init_param jtx_link_rx
Definition: fmcdaq2.c:151
ad9528_platform_data::rpole2
uint8_t rpole2
Definition: ad9528.h:436
ad9250_fast_detect_cfg
Fast Detect module configuration.
Definition: ad9250.h:457
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:141
iio_axi_dac_init_param
Definition: iio_axi_dac.h:71
axi_jesd204_rx_init
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
no_os_calloc
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
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
jesd204_topology
Definition: jesd204.h:248
jesd204_topology_dev::jdev
struct jesd204_dev * jdev
Definition: jesd204.h:240
ad9625_init_param
Definition: ad9625.h:78
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:990
jesd204_rx_init::name
const char * name
Definition: axi_jesd204_rx.h:90
tx_jesd_clk
struct jesd204_clk tx_jesd_clk
Definition: fmcdaq2.c:130
ad9523_channel_spec
Output channel configuration.
Definition: ad9523.h:301
RX_0_CORE_BASEADDR
#define RX_0_CORE_BASEADDR
Definition: parameters.h:47
adxcvr_init::lpm_enable
bool lpm_enable
Definition: axi_adxcvr.h:115
ADXCVR_OUTCLK_PMA
#define ADXCVR_OUTCLK_PMA
Definition: axi_adxcvr.h:54
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:154
jesd204_topology_dev
Definition: jesd204.h:239
CPOLE1_16_PF
@ CPOLE1_16_PF
Definition: ad9523.h:356
RX_1_JESD_BASEADDR
#define RX_1_JESD_BASEADDR
Definition: parameters.h:54
ad9144_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9144.h:1381
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:340
NIOS_II_GPIO
@ NIOS_II_GPIO
Definition: altera_gpio.h:53
ad9528_platform_data::sysref_req_en
bool sysref_req_en
Definition: ad9528.h:411
jesd204_tx_init::device_clk_khz
uint32_t device_clk_khz
Definition: axi_jesd204_tx.h:121
ad9523_init_param
Definition: ad9523.h:479
AD9250_TEST_RAMP
#define AD9250_TEST_RAMP
Definition: ad9250.h:161
no_os_gpio_init_param::platform_ops
const struct no_os_gpio_platform_ops * platform_ops
Definition: no_os_gpio.h:87
xil_spi_param
struct xil_spi_init_param xil_spi_param
Definition: parameters.c:51
ad9144_iio_descriptor
const struct iio_device ad9144_iio_descriptor
Definition: iio_ad9144.c:38
iio_axi_adc_desc
iio_axi_adc_descriptor
Definition: iio_axi_adc.h:53
ad9625_init_param::lane_rate_kbps
uint32_t lane_rate_kbps
Definition: ad9625.h:82
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:115
altera_spi_ops
const struct no_os_spi_platform_ops altera_spi_ops
Altera platform specific SPI platform ops structure.
Definition: altera_spi.c:158
no_os_spi_init_param::device_id
uint32_t device_id
Definition: no_os_spi.h:142
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:615
ad9517_lvds_cmos_channels
struct ad9517_lvds_cmos_channel_spec ad9517_lvds_cmos_channels[]
Definition: ad9467_fmc.c:136
IIO_APP_TRIGGER
#define IIO_APP_TRIGGER(_name, _trig, _trig_descriptor)
Definition: iio_app.h:56
ad9152_iio_descriptor
struct iio_device const ad9152_iio_descriptor
Definition: iio_ad9152.c:38
ad9517_pdata_lpc
struct ad9517_platform_data ad9517_pdata_lpc
Definition: ad9467_fmc.c:91
ad9250_setup
int32_t ad9250_setup(struct ad9250_dev **device, struct ad9250_init_param init_param)
Configures the device.
Definition: ad9250.c:86
GPIO_DAC_RESET
#define GPIO_DAC_RESET
Definition: parameters.h:137
TX_DMA_BASEADDR
#define TX_DMA_BASEADDR
Definition: parameters.h:91
ad9528_platform_data::sysref_k_div
uint16_t sysref_k_div
Definition: ad9528.h:405
AD9680_TEST_PN23
#define AD9680_TEST_PN23
Definition: ad9680.h:72
RX_DMA_BASEADDR
#define RX_DMA_BASEADDR
Definition: parameters.h:64
fmcdaq2_dev::ad9144_device
struct ad9144_dev * ad9144_device
Definition: fmcdaq2.c:83
ad9152_setup
int32_t ad9152_setup(struct ad9152_dev **device, struct ad9152_init_param init_param)
ad9152_setup
Definition: ad9152.c:90
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:825
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
ad9517_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9517.h:398
iio_app_device::read_buff
struct iio_data_buffer * read_buff
Definition: iio_app.h:71
axi_dma_transfer
Definition: axi_dmac.h:102
ad9144_init_param::interpolation
uint8_t interpolation
Definition: ad9144.h:1386
ad9528_platform_data::vcxo_freq
uint32_t vcxo_freq
Definition: ad9528.h:356
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:147
fmcdaq2_init_param::jrx_link_tx
struct link_init_param jrx_link_tx
Definition: fmcdaq2.c:150
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:430
fmcdaq2_dev::ad9680_xcvr
struct adxcvr * ad9680_xcvr
Definition: fmcdaq2.c:94
axi_adxcvr.h
Driver for the ADI AXI-ADXCVR Module.
ad9152_init_param::prbs_type
uint32_t prbs_type
Definition: ad9152.h:1347
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:476
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:912
s_i5g_init::ad9625_0_device
struct ad9625_dev * ad9625_0_device
Definition: axi_fmcadc5_sync.h:101
MAX_SIZE_BASE_ADDR
#define MAX_SIZE_BASE_ADDR
Definition: parameters.h:54
DAC_DEVICE_SYSREF
@ DAC_DEVICE_SYSREF
Definition: parameters.h:147
ad9528_platform_data::sysref_nshot_mode
uint8_t sysref_nshot_mode
Definition: ad9528.h:407
ad9144_init_param::jesd204_mode
uint8_t jesd204_mode
Definition: ad9144.h:1392
ad9144_status
int32_t ad9144_status(struct ad9144_dev *dev)
ad9144_status - return the status of the JESD interface
Definition: ad9144.c:1243
altera_gpio_ops
const struct no_os_gpio_platform_ops altera_gpio_ops
Altera platform specific GPIO platform ops structure.
Definition: altera_gpio.c:253
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:815
jesd204_clk.h
Analog Devices JESD204 clock.
axi_dac_channel
Definition: axi_dac_core.h:96
iio_sw_trigger_example_main
int iio_sw_trigger_example_main()
IIO sw trigger example main execution.
Definition: iio_sw_trigger_example.c:53
iio_app_device
Definition: iio_app.h:67
TX_XCVR_BASEADDR
#define TX_XCVR_BASEADDR
Definition: parameters.h:58
IRQ_DISABLED
@ IRQ_DISABLED
Definition: axi_dmac.h:79
ad9144_init_param::num_lanes
uint8_t num_lanes
Definition: ad9144.h:1385
ad9523_dev
Definition: ad9523.h:471
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:56
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:91
GPIO_PWR_GOOD
#define GPIO_PWR_GOOD
Definition: parameters.h:66
jesd204.h
ad9528_platform_data::pll2_ndiv_a_cnt
uint8_t pll2_ndiv_a_cnt
Definition: ad9528.h:420
ad9250_state::p_fd
struct ad9250_fast_detect_cfg * p_fd
Definition: ad9250.h:493
axi_dac_init::name
const char * name
Definition: axi_dac_core.h:70
ad9250_platform_data::extrn_pdwnmode
int8_t extrn_pdwnmode
Definition: ad9250.h:265
JESD204_LINKS_ALL
#define JESD204_LINKS_ALL
Definition: jesd204.h:49
ad9523_platform_data::num_channels
int32_t num_channels
Definition: ad9523.h:448
fmcdaq2
struct fmcdaq2_dev fmcdaq2
ad9528_init_param::gpio_resetb
struct no_os_gpio_init_param * gpio_resetb
Definition: ad9528.h:501
ad9680_dev::jesd204_link
struct jesd204_link jesd204_link
Definition: ad9680.h:91
fmcdaq2_dev::gpio_dac_reset
struct no_os_gpio_desc * gpio_dac_reset
Definition: fmcdaq2.c:89
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:476
fmcdaq2_init_param::ad9680_param
struct ad9680_init_param ad9680_param
Definition: fmcdaq2.c:135
iio_app_device::write_buff
struct iio_data_buffer * write_buff
Definition: iio_app.h:72
AD9144_PRBS15
#define AD9144_PRBS15
Definition: ad9144.h:1350
ad9517_platform_data::ref_1_freq
int32_t ref_1_freq
Definition: ad9517.h:310
SPI_PL
@ SPI_PL
Definition: xilinx_spi.h:60
xil_gpio_param
struct xil_gpio_init_param xil_gpio_param
Definition: parameters.c:46
AD9517_1
@ AD9517_1
Definition: ad9517.h:341
fmcdaq2_dev::ad9680_dmac
struct axi_dmac * ad9680_dmac
Definition: fmcdaq2.c:104
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:347
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:277
axi_dmac.h
Driver for the Analog Devices AXI-DMAC core.
DAC_DDR_BASEADDR
#define DAC_DDR_BASEADDR
Definition: parameters.h:41
iio_data_buffer
Definition: iio_app.h:62
main
int main(void)
Definition: fmcdaq2.c:1189
axi_dac_channel::dds_frequency_0
uint32_t dds_frequency_0
Definition: axi_dac_core.h:97
ad9528_platform_data::osc_in_diff_en
uint8_t osc_in_diff_en
Definition: ad9528.h:370
fmcdaq2_dev::ad9144_xcvr
struct adxcvr * ad9144_xcvr
Definition: fmcdaq2.c:93
ad9680_dev::jdev
struct jesd204_dev * jdev
Definition: ad9680.h:90
axi_dma_transfer::src_addr
uint32_t src_addr
Definition: axi_dmac.h:106
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:646
jesd204_rx_init::device_clk_khz
uint32_t device_clk_khz
Definition: axi_jesd204_rx.h:100
ad9528_platform_data
platform specific information
Definition: ad9528.h:354
UART_IRQ_ID
#define UART_IRQ_ID
Definition: parameters.h:50
app_config.h
Config file for DAQ3 project.
app_config.h
Config file for DAQ2 project.
GPIO_PWDN_1
#define GPIO_PWDN_1
Definition: parameters.h:61
ADC_FPGA_CLK
@ ADC_FPGA_CLK
Definition: parameters.h:152
fmcdaq2_init_param::ad9680_core_param
struct axi_adc_init ad9680_core_param
Definition: fmcdaq2.c:143
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:170
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:84
axi_dac_init
Definition: axi_dac_core.h:68
ad9517_lvpecl_channels
struct ad9517_lvpecl_channel_spec ad9517_lvpecl_channels[]
Definition: ad9467_fmc.c:109
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:51
iio_axi_adc.h
Header file of iio_axi_adc.
iio_demo_uart_ip
struct no_os_uart_init_param iio_demo_uart_ip
Definition: common_data.c:44
adxcvr_init
Definition: altera_adxcvr.h:102
axi_dac_channel::dds_scale_0
int32_t dds_scale_0
Definition: axi_dac_core.h:99
ad9144_dev
Definition: ad9144.h:1355
GPIO_RST_1
#define GPIO_RST_1
Definition: parameters.h:60
UART_BAUDRATE
#define UART_BAUDRATE
Definition: parameters.h:53
axi_dma_transfer::dest_addr
uint32_t dest_addr
Definition: axi_dmac.h:107
ad9680_iio_descriptor
struct iio_device const ad9680_iio_descriptor
Definition: iio_ad9680.c:37
SYSREF_PATTERN_CONTINUOUS
#define SYSREF_PATTERN_CONTINUOUS
Definition: ad9528.h:279
ad9250_jesd204b_cfg::jtx_in_standby
int8_t jtx_in_standby
Definition: ad9250.h:326
ad9517_platform_data
Definition: ad9517.h:308
ad9144_init_param::pll_ref_frequency_khz
uint32_t pll_ref_frequency_khz
Definition: ad9144.h:1400
ad9528_platform_data::rzero
uint8_t rzero
Definition: ad9528.h:438
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:104
ad9680_init_param::sampling_frequency_hz
unsigned long long sampling_frequency_hz
Definition: ad9680.h:106
adxcvr_init::name
const char * name
Definition: altera_adxcvr.h:103
ad9523_platform_data
platform specific information
Definition: ad9523.h:368
xilinx_gpio.h
AD9250_TEST_OFF
#define AD9250_TEST_OFF
Definition: ad9250.h:153
AD9152_TEST_PN15
#define AD9152_TEST_PN15
Definition: ad9152.h:1334
ad9680_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9680.h:101
adxcvr_init::out_clk_sel
uint32_t out_clk_sel
Definition: axi_adxcvr.h:113
axi_dac
AXI DAC Device Descriptor.
Definition: axi_dac_core.h:53
fmcdaq2_init_param::ad9144_param
struct ad9144_init_param ad9144_param
Definition: fmcdaq2.c:134
AXI_DAC_DATA_SEL_PN23
@ AXI_DAC_DATA_SEL_PN23
Definition: axi_dac_core.h:90
xil_uart_init_param
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
ad9528_platform_data::sysref_pattern_mode
uint8_t sysref_pattern_mode
Definition: ad9528.h:403
AD9680_TEST_OFF
#define AD9680_TEST_OFF
Definition: ad9680.h:70
ad9528_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9528.h:499
xil_spi_init_param::type
enum xil_spi_type type
Definition: xilinx_spi.h:74
fmcdaq2_init_param::ad9144_core_param
struct axi_dac_init ad9144_core_param
Definition: fmcdaq2.c:145
no_os_gpio_desc
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
clk_altera_a10_fpll.h
Driver for the Altera FPLL.
axi_dma_transfer::cyclic
enum cyclic_transfer cyclic
Definition: axi_dmac.h:105
GPIO_JESD204_SYSREF
#define GPIO_JESD204_SYSREF
Definition: parameters.h:79
ad9517_state::lvpecl_channels
struct ad9517_lvpecl_channel_spec * lvpecl_channels
Definition: ad9517.h:378
altera_a10_fpll::name
const char * name
Definition: clk_altera_a10_fpll.h:45
iio_app_run
int iio_app_run(struct iio_app_desc *app)
iio_axi_dac_desc
Definition: iio_axi_dac.h:53
ad9250_jesd204b_cfg
JESD204B interface configuration.
Definition: ad9250.h:320
GPIO_ADC_PD
#define GPIO_ADC_PD
Definition: parameters.h:135
ad9152_init_param::stpl_samples
uint32_t stpl_samples[2][4]
Definition: ad9152.h:1345
AD9250_OUT_OFFSET_BINARY
#define AD9250_OUT_OFFSET_BINARY
Definition: ad9250.h:177
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:256
ad9250_state::p_jesd204b
struct ad9250_jesd204b_cfg * p_jesd204b
Definition: ad9250.h:492
iio_axi_dac_init_param::tx_dac
struct axi_dac * tx_dac
Definition: iio_axi_dac.h:73
RX_XCVR_BASEADDR
#define RX_XCVR_BASEADDR
Definition: parameters.h:66
fmcdaq2_dev::ad9144_dmac
struct axi_dmac * ad9144_dmac
Definition: fmcdaq2.c:103
ad9523_channel_spec::channel_divider
uint16_t channel_divider
Definition: ad9523.h:321
fmcdaq2_dev::ad9680_core
struct axi_adc * ad9680_core
Definition: fmcdaq2.c:99
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
iio_sw_trigger_example_main
int iio_sw_trigger_example_main()
IIO sw trigger example main execution.
Definition: iio_sw_trigger_example.c:53
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:49
iio_app_init
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
ad9528_platform_data::cpole1
uint8_t cpole1
Definition: ad9528.h:440
iio_app_init_param::trigs
struct iio_trigger_init * trigs
Definition: iio_app.h:111
ad9528_platform_data::pll2_n2_div
uint8_t pll2_n2_div
Definition: ad9528.h:428
TX_CORE_BASEADDR
#define TX_CORE_BASEADDR
Definition: parameters.h:90
ad9517_update
int32_t ad9517_update(struct ad9517_dev *dev)
Transfers the contents of the buffer registers into the active registers.
Definition: ad9517.c:313
ad9517_lvds_cmos_channel_spec::channel_num
uint8_t channel_num
Definition: ad9517.h:356
no_os_spi_init_param::max_speed_hz
uint32_t max_speed_hz
Definition: no_os_spi.h:144
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:119
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:61
adxcvr_init::lane_rate_khz
uint32_t lane_rate_khz
Definition: altera_adxcvr.h:107
iio_sw_trig
IIO software trigger structure.
Definition: iio_trigger.h:105
axi_jesd204_tx
Definition: axi_jesd204_tx.h:70
ad9680_remove
int32_t ad9680_remove(struct ad9680_dev *dev)
Free the resources allocated by ad9680_setup().
Definition: ad9680.c:384
DAC_FPGA_SYSREF
@ DAC_FPGA_SYSREF
Definition: parameters.h:149
AD9250_TEST_PNLONG
#define AD9250_TEST_PNLONG
Definition: ad9250.h:158
fmcdaq2_dev::ad9680_device
struct ad9680_dev * ad9680_device
Definition: fmcdaq2.c:84
axi_jesd204_tx::jdev
struct jesd204_dev * jdev
Definition: axi_jesd204_tx.h:92
altera_a10_fpll_init
Definition: clk_altera_a10_fpll.h:51
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:1154
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:55
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:819
ad9517_setup
int32_t ad9517_setup(struct ad9517_dev **device, struct ad9517_init_param init_param)
Initializes the AD9517.
Definition: ad9517.c:52
NO
@ NO
Definition: axi_dmac.h:98
ADXCVR_SYS_CLK_CPLL
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:48
iio_app_init_param::nb_trigs
int32_t nb_trigs
Definition: iio_app.h:113
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:1123
xil_uart_ops
const struct no_os_uart_platform_ops xil_uart_ops
Xilinx platform specific UART platform ops structure.
Definition: xilinx_uart.c:520
axi_jesd204_tx_init_legacy
int32_t axi_jesd204_tx_init_legacy(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:729
AD9152_TEST_PN7
#define AD9152_TEST_PN7
Definition: ad9152.h:1335
axi_dac_channel::dds_phase_0
uint32_t dds_phase_0
Definition: axi_dac_core.h:98
AXI_ADC_PN23A
@ AXI_ADC_PN23A
Definition: axi_adc_core.h:158
sine_lut_iq
const uint32_t sine_lut_iq[1024]
Definition: axi_dac_core.c:145
iio_axi_adc_init_param::rx_adc
struct axi_adc * rx_adc
Definition: iio_axi_adc.h:79
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:641
axi_dmac_init
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:334
RX_CORE_BASEADDR
#define RX_CORE_BASEADDR
Definition: parameters.h:63
ad9625_test
int32_t ad9625_test(struct ad9625_dev *dev, uint32_t test_mode)
ad9625_test
Definition: ad9625.c:157
adc_demo_desc
Definition: adc_demo.h:59
ad9625_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9625.h:80
AXI_DAC_DATA_SEL_SED
@ AXI_DAC_DATA_SEL_SED
Definition: axi_dac_core.h:85
ad9250_state::pdata
struct ad9250_platform_data * pdata
Definition: ad9250.h:491
ad9144_init_param::fcenter_shift
unsigned int fcenter_shift
Definition: ad9144.h:1387
NULL
#define NULL
Definition: wrapper.h:64
no_os_uart_init_param
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
DAC_DEVICE_CLK
@ DAC_DEVICE_CLK
Definition: parameters.h:146
iio_app_device::dev
void * dev
Definition: iio_app.h:69
ad9250_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9250.h:524
ad9680_init_param
Definition: ad9680.h:99
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:453
SPI_DEVICE_ID
#define SPI_DEVICE_ID
Definition: parameters.h:69
ad9250_platform_data
Platform specific information.
Definition: ad9250.h:259
ad9523_remove
int32_t ad9523_remove(struct ad9523_dev *dev)
Free the resources allocated by ad9523_setup().
Definition: ad9523.c:725
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:197
ad9144_init_param::stpl_samples
uint32_t stpl_samples[4][4]
Definition: ad9144.h:1388
ad9144_init_param
Definition: ad9144.h:1379
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:44
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
ADC_FPGA_SYSREF
@ ADC_FPGA_SYSREF
Definition: parameters.h:153
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:659
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:57
NO_OS_UART_PAR_NO
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
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:466
ad9625_dev
Definition: ad9625.h:86
ad9528_init_param::pdata
struct ad9528_platform_data * pdata
Definition: ad9528.h:503
ad9144_dev::jdev
struct jesd204_dev * jdev
Definition: ad9144.h:1359
ad9144_init_param::spi3wire
uint8_t spi3wire
Definition: ad9144.h:1383
ad9625_setup
int32_t ad9625_setup(struct ad9625_dev **device, struct ad9625_init_param init_param)
ad9625_setup
Definition: ad9625.c:88
fmcdaq2_init_param::ad9680_dmac_param
struct axi_dmac_init ad9680_dmac_param
Definition: fmcdaq2.c:148
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:216
iio_axi_dac.h
Header file of iio_axi_dac.
fmcdaq2_dev
Definition: fmcdaq2.c:81
altera_a10_fpll_disable
void altera_a10_fpll_disable(struct altera_a10_fpll *fpll)
altera_a10_fpll_disable
Definition: clk_altera_a10_fpll.c:458
no_os_uart_init_param::device_id
uint8_t device_id
Definition: no_os_uart.h:112
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:299
RX_JESD_BASEADDR
#define RX_JESD_BASEADDR
Definition: parameters.h:65
ad9528_platform_data::pll2_ndiv_b_cnt
uint8_t pll2_ndiv_b_cnt
Definition: ad9528.h:422
ad9680_setup
int32_t ad9680_setup(struct ad9680_dev **device, const struct ad9680_init_param *init_param)
ad9680_setup
Definition: ad9680.c:220
xil_gpio_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
ADXCVR_SYS_CLK_QPLL0
#define ADXCVR_SYS_CLK_QPLL0
Definition: axi_adxcvr.h:50
AD9517_REG_PLL_READBACK
#define AD9517_REG_PLL_READBACK
Definition: ad9517.h:75
ad9528_platform_data::channels
struct ad9528_channel_spec * channels
Definition: ad9528.h:448
adxcvr_remove
int32_t adxcvr_remove(struct adxcvr *xcvr)
adxcvr_remove
Definition: altera_adxcvr.c:489
no_os_gpio_init_param::extra
void * extra
Definition: no_os_gpio.h:89
jesd204_clk
Definition: jesd204_clk.h:47
LVPECL_780mV
@ LVPECL_780mV
Definition: ad9517.h:350
no_os_gpio.h
Header file of GPIO Interface.
ad9144_init_param::jesd204_scrambling
uint8_t jesd204_scrambling
Definition: ad9144.h:1394
adxcvr_init::sys_clk_sel
uint32_t sys_clk_sel
Definition: axi_adxcvr.h:109
ad9144_init_param::pll_enable
uint8_t pll_enable
Definition: ad9144.h:1398
axi_dac_channel::sel
enum axi_dac_data_sel sel
Definition: axi_dac_core.h:105
adxcvr::clk_out
struct no_os_clk_desc * clk_out
Definition: axi_adxcvr.h:93
jesd204_rx_init
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:88
ad9517_state::lvds_cmos_channels
struct ad9517_lvds_cmos_channel_spec * lvds_cmos_channels
Definition: ad9517.h:379
ad9250_test_mode
int32_t ad9250_test_mode(struct ad9250_dev *dev, int32_t mode)
Sets the ADC's test mode.
Definition: ad9250.c:485
AXI_DAC_DATA_SEL_PN31
@ AXI_DAC_DATA_SEL_PN31
Definition: axi_dac_core.h:91
jesd204_tx_init::name
const char * name
Definition: axi_jesd204_tx.h:101
DAC_FPGA_CLK
@ DAC_FPGA_CLK
Definition: parameters.h:148
ad9250_init_param
Definition: ad9250.h:522
axi_dac_channel::dds_dual_tone
uint32_t dds_dual_tone
Definition: axi_dac_core.h:103
GPIO_PL
@ GPIO_PL
Definition: xilinx_gpio.h:54
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:136
axi_dmac_transfer_start
int32_t axi_dmac_transfer_start(struct axi_dmac *dmac, struct axi_dma_transfer *dma_transfer)
Definition: axi_dmac.c:385
UART_DEVICE_ID
#define UART_DEVICE_ID
Definition: parameters.h:52
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:1063
ADXCVR_REFCLK_DIV2
#define ADXCVR_REFCLK_DIV2
Definition: axi_adxcvr.h:56
ad9144_setup_jesd_fsm
int32_t ad9144_setup_jesd_fsm(struct ad9144_dev **device, const struct ad9144_init_param *init_param)
Definition: ad9144.c:1127
AXI_DAC_DATA_SEL_DMA
@ AXI_DAC_DATA_SEL_DMA
Definition: axi_dac_core.h:86
axi_jesd204_rx::name
const char * name
Definition: axi_jesd204_rx.h:59
ad9152_remove
int32_t ad9152_remove(struct ad9152_dev *dev)
Free the resources allocated by ad9152_setup().
Definition: ad9152.c:201
TX_JESD_BASEADDR
#define TX_JESD_BASEADDR
Definition: parameters.h:90
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:188
ad9152_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9152.h:1343
iio_uart_ip
struct no_os_uart_init_param iio_uart_ip
Definition: common_data.c:46
ad9523_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad9523.h:481
AD9144_PRBS7
#define AD9144_PRBS7
Definition: ad9144.h:1349
no_os_spi_init_param::extra
void * extra
Definition: no_os_spi.h:158
ad9528_platform_data::pll1_bypass_en
uint8_t pll1_bypass_en
Definition: ad9528.h:395
ADC_DEVICE_SYSREF
@ ADC_DEVICE_SYSREF
Definition: parameters.h:151
s_i5g_init
Definition: axi_fmcadc5_sync.h:100
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
altera_spi_init_param::type
enum spi_type type
Definition: altera_spi.h:58
ad9680_test
int32_t ad9680_test(struct ad9680_dev *dev, uint32_t test_mode)
Definition: ad9680.c:96
ad9152_init_param::interpolation
uint32_t interpolation
Definition: ad9152.h:1346
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:463
adc_demo_iio_descriptor
struct iio_device adc_demo_iio_descriptor
Definition: iio_adc_demo.c:275
ad9144_init_param::lane_rate_kbps
uint32_t lane_rate_kbps
Definition: ad9144.h:1389
ad9250_init_param::ad9250_st_init
struct ad9250_state ad9250_st_init
Definition: ad9250.h:526
ad9528_channel_spec::channel_num
uint8_t channel_num
Definition: ad9528.h:332
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:147
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
AD9625_TEST_PNLONG
#define AD9625_TEST_PNLONG
Definition: ad9625.h:69
iio_app_init_param::devices
struct iio_app_device * devices
Definition: iio_app.h:107
jesd204_tx_init
JESD204B/C Transmit Peripheral Initialization Structure.
Definition: axi_jesd204_tx.h:99
axi_dma_transfer::size
uint32_t size
Definition: axi_dmac.h:103
ad9144.h
Header file of AD9144 Driver.
xil_gpio_init_param::type
enum xil_gpio_type type
Definition: xilinx_gpio.h:66
iio_ad9152.h
Header file of AD9152 iio.
ad9625_remove
int32_t ad9625_remove(struct ad9625_dev *dev)
ad9625_remove
Definition: ad9625.c:143
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:79
ad9250_dev
Definition: ad9250.h:514
ad9528_setup
int32_t ad9528_setup(struct ad9528_dev **device, struct ad9528_init_param init_param)
Initializes the AD9528.
Definition: ad9528.c:702
axi_adc_init::name
const char * name
Definition: axi_adc_core.h:145
AXI_ADC_PN9
@ AXI_ADC_PN9
Definition: axi_adc_core.h:157
jesd204_rx_init::lane_clk
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_rx.h:104
fmcdaq2_dev::ad9680_jesd
struct axi_jesd204_rx * ad9680_jesd
Definition: fmcdaq2.c:97
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:189
iio_app_init_param::nb_devices
uint32_t nb_devices
Definition: iio_app.h:109
ad9144_remove
int32_t ad9144_remove(struct ad9144_dev *dev)
Definition: ad9144.c:1229
ad9152_status
int32_t ad9152_status(struct ad9152_dev *dev)
ad9152_setup
Definition: ad9152.c:296
RZERO_1850_OHM
@ RZERO_1850_OHM
Definition: ad9523.h:350
LVDS
@ LVDS
Definition: ad9517.h:365
jesd204_tx_init::lane_clk_khz
uint32_t lane_clk_khz
Definition: axi_jesd204_tx.h:123
axi_dmac
Definition: axi_dmac.h:110
jesd204_tx_init::lane_clk
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_tx.h:125
fmcdaq2_init_param::ad9680_xcvr_param
struct adxcvr_init ad9680_xcvr_param
Definition: fmcdaq2.c:138
adxcvr_init::parent_rate_khz
uint32_t parent_rate_khz
Definition: altera_adxcvr.h:108
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:288
main
int main(void)
main
Definition: fmcjesdadc1.c:67
adxcvr_init
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:438
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
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:140
ad9680_init_param::sysref_mode
unsigned long sysref_mode
Definition: ad9680.h:108
AXI_ADC_PN23
@ AXI_ADC_PN23
Definition: axi_adc_core.h:161