no-OS
Classes | Functions
app_ad9083.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include "ad9083.h"
Include dependency graph for app_ad9083.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  app_ad9083_init
 Structure holding the parameters for ad9083 app initialization. More...
 
struct  app_ad9083
 Structure holding ad9083 app descriptor. More...
 

Functions

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...
 
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...
 

Function Documentation

◆ app_ad9083_check_sysref_rate()

bool app_ad9083_check_sysref_rate ( uint32_t  lmfc,
uint32_t  sysref 
)

Check sysref is submultiple of lmfc.

Parameters
lmfc- Multiframe clock.
sysref- System reference clock.
Returns
true if is submultiple, false otherwise.
Here is the caller graph for this function:

◆ app_ad9083_init()

int32_t app_ad9083_init ( struct app_ad9083 **  app,
struct app_ad9083_init init_param 
)

Initialize the AD9083 app.

Parameters
app- AD9083 app descriptor.
init_param- The structure that contains the app initial parameters.
Returns
0 in case of success, -1 otherwise.
Here is the caller graph for this function:

◆ app_ad9083_remove()

int32_t app_ad9083_remove ( struct app_ad9083 app)

Free the resources allocated by app_ad9083_init().

Parameters
app- App descriptor.
Returns
0 in case of success, -1 otherwise.

◆ app_ad9083_status()

int32_t app_ad9083_status ( struct app_ad9083 app)

Check AD9083 link status.

Parameters
app- AD9083 app descriptor.
Returns
0 in case of success, -1 otherwise.
Here is the caller graph for this function:

◆ app_ad9083_subclass1_status()

int32_t app_ad9083_subclass1_status ( struct app_ad9083 app)

Check AD9083 subclass 1 link status.

Parameters
app- AD9083 app descriptor.
Returns
0 in case of success, -1 otherwise.
Here is the caller graph for this function: