![]() |
no-OS
|
Implementation of AD9361 Conv Driver. More...
#include <inttypes.h>#include <string.h>#include "ad9361.h"#include "no_os_delay.h"#include "ad9361_util.h"#include "axi_adc_core.h"#include "app_config.h"Macros | |
| #define | ADI_REG_ID 0x0004 |
| #define | PCORE_VERSION(major, minor, letter) |
| #define | PCORE_VERSION_MAJOR(version) |
| #define | PCORE_VERSION_MINOR(version) |
| #define | PCORE_VERSION_LETTER(version) |
Functions | |
| int32_t | ad9361_hdl_loopback (struct ad9361_rf_phy *phy, bool enable) |
| int32_t | ad9361_dig_interface_timing_analysis (struct ad9361_rf_phy *phy, char *buf, int32_t buflen) |
| int32_t | ad9361_dig_tune (struct ad9361_rf_phy *phy, uint32_t max_freq, enum dig_tune_flags flags) |
| int32_t | ad9361_post_setup (struct ad9361_rf_phy *phy) |
Implementation of AD9361 Conv Driver.
Copyright 2014-2015(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| #define ADI_REG_ID 0x0004 |
| #define PCORE_VERSION | ( | major, | |
| minor, | |||
| letter ) |
| #define PCORE_VERSION_LETTER | ( | version | ) |
| #define PCORE_VERSION_MAJOR | ( | version | ) |
| #define PCORE_VERSION_MINOR | ( | version | ) |
| int32_t ad9361_dig_interface_timing_analysis | ( | struct ad9361_rf_phy * | phy, |
| char * | buf, | ||
| int32_t | buflen ) |
Digital interface timing analysis.
| phy | The AD9361 state structure. |
| buf | The buffer. |
| buflen | The buffer length. |
| int32_t ad9361_dig_tune | ( | struct ad9361_rf_phy * | phy, |
| uint32_t | max_freq, | ||
| enum dig_tune_flags | flags ) |
Digital tune.
| phy | The AD9361 state structure. |
| max_freq | Maximum frequency. |
| flags | Flags: BE_VERBOSE, BE_MOREVERBOSE, DO_IDELAY, DO_ODELAY. |
| int32_t ad9361_hdl_loopback | ( | struct ad9361_rf_phy * | phy, |
| bool | enable ) |
HDL loopback enable/disable.
| phy | The AD9361 state structure. |
| enable | Enable/disable option. |
| int32_t ad9361_post_setup | ( | struct ad9361_rf_phy * | phy | ) |
Setup the AD9361 device.
| phy | The AD9361 state structure. |