no-OS
|
Implementation of app_ad9083. More...
#include <stdlib.h>
#include "inttypes.h"
#include "app_ad9083.h"
#include "adi_ad9083_bf_jtx_ip.h"
#include "parameters.h"
#include "no_os_spi.h"
#include "xilinx_spi.h"
#include "xilinx_gpio.h"
#include "no_os_error.h"
#include "no_os_util.h"
#include "no_os_delay.h"
#include "no_os_print_log.h"
#include "no_os_alloc.h"
Functions | |
bool | app_ad9083_check_sysref_rate (uint32_t lmfc, uint32_t sysref) |
Check sysref is submultiple of lmfc. More... | |
int32_t | app_ad9083_subclass1_status (struct app_ad9083 *app) |
Check AD9083 subclass 1 link status. More... | |
int32_t | app_ad9083_status (struct app_ad9083 *app) |
Check AD9083 link status. More... | |
int32_t | app_ad9083_init (struct app_ad9083 **app, struct app_ad9083_init *init_param) |
Initialize the AD9083 app. More... | |
int32_t | app_ad9083_remove (struct app_ad9083 *app) |
Free the resources allocated by app_ad9083_init(). More... | |
Implementation of app_ad9083.
Copyright 2021(c) Analog Devices, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bool app_ad9083_check_sysref_rate | ( | uint32_t | lmfc, |
uint32_t | sysref | ||
) |
Check sysref is submultiple of lmfc.
lmfc | - Multiframe clock. |
sysref | - System reference clock. |
int32_t app_ad9083_init | ( | struct app_ad9083 ** | app, |
struct app_ad9083_init * | init_param | ||
) |
Initialize the AD9083 app.
app | - AD9083 app descriptor. |
init_param | - The structure that contains the app initial parameters. |
int32_t app_ad9083_remove | ( | struct app_ad9083 * | app | ) |
Free the resources allocated by app_ad9083_init().
app | - App descriptor. |
int32_t app_ad9083_status | ( | struct app_ad9083 * | app | ) |
Check AD9083 link status.
app | - AD9083 app descriptor. |
int32_t app_ad9083_subclass1_status | ( | struct app_ad9083 * | app | ) |
Check AD9083 subclass 1 link status.
app | - AD9083 app descriptor. |