![]() |
no-OS
|
Basic example for the adrv902x project. More...
#include "basic_example.h"#include "common_data.h"#include "parameters.h"#include "app_config.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include "no_os_print_log.h"#include "no_os_error.h"#include "no_os_util.h"#include "no_os_spi.h"#include "axi_jesd204_rx.h"#include "axi_jesd204_tx.h"#include "axi_adc_core.h"#include "axi_dac_core.h"#include "axi_adxcvr.h"#include "axi_dmac.h"#include "xilinx_gpio.h"#include "xilinx_spi.h"#include "clkgen_routines.h"#include "adrv9025.h"#include "ad9528.h"Functions | |
| int | example_main (void) |
| Basic example main execution. | |
Basic example for the adrv902x project.
Copyright 2023(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| int example_main | ( | void | ) |
Basic example main execution.
Basic example main executiont.
IIO descriptor and initialization parameter.
IIO app.
Declaring iio_devices structure
Initializing IIO app init param.
Initializing IIO app.
Running the IIO app (use iio_info or osc in terminal).
Set the threshold voltage to 5V
The comparator output will be available on the GPO_A pin
Set the DAC output on channel C to 5V
Measure input current on channel D
GPIO Pin Interrupt Controller