no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
app_ad9083.h
Go to the documentation of this file.
1#ifndef __APP_AD9083_H
2#define __APP_AD9083_H
3
4#include <stdint.h>
5#include <stdbool.h>
6#include "ad9083.h"
7
13 /* Settings selection */
14 uint8_t uc;
15 /* jesd receive clock */
17};
18
23struct app_ad9083 {
24 /* Structure holding ad9083 device descriptor */
26};
27
28/* Initialize the ad9083 app. */
29int32_t app_ad9083_init(struct app_ad9083 **app,
31
32/* Remove the app. */
33int32_t app_ad9083_remove(struct app_ad9083 *app);
34
35/* Check SYSREF clock. */
36bool app_ad9083_check_sysref_rate(uint32_t lmfc, uint32_t sysref);
37
38/* Check AD9083 subclass 1 status. */
39int32_t app_ad9083_subclass1_status(struct app_ad9083 *app);
40
41/* Check AD9083 status. */
42int32_t app_ad9083_status(struct app_ad9083 *app);
43
44#endif /* __APP_AD9083_H */
struct ad7616_init_param init_param
Definition ad7616_sdz.c:107
Header file of ad9083 Driver.
int32_t app_ad9083_init(struct app_ad9083 **app, struct app_ad9083_init *init_param)
Initialize the AD9083 app.
Definition app_ad9083.c:134
bool app_ad9083_check_sysref_rate(uint32_t lmfc, uint32_t sysref)
Check sysref is submultiple of lmfc.
Definition app_ad9083.c:54
int32_t app_ad9083_subclass1_status(struct app_ad9083 *app)
Check AD9083 subclass 1 link status.
Definition app_ad9083.c:71
int32_t app_ad9083_remove(struct app_ad9083 *app)
Free the resources allocated by app_ad9083_init().
Definition app_ad9083.c:198
int32_t app_ad9083_status(struct app_ad9083 *app)
Check AD9083 link status.
Definition app_ad9083.c:95
Structure holding the parameters for ad9083 app initialization.
Definition app_ad9083.h:12
uint8_t uc
Definition app_ad9083.h:14
struct no_os_clk * jesd_rx_clk
Definition app_ad9083.h:16
Structure holding ad9083 app descriptor.
Definition app_ad9083.h:23
struct ad9083_phy * ad9083_phy
Definition app_ad9083.h:25
Definition no_os_clk.h:58