no-OS
Loading...
Searching...
No Matches
app_jesd.h File Reference

Application JESD initialization. More...

#include <stdint.h>
#include "no_os_clk.h"
Include dependency graph for app_jesd.h:

Enumerations

enum  jesd_clocks {
  JESD_RX ,
  JESD_TX ,
  NUM_JESD_CLKS
}
 

Functions

int32_t app_jesd_init (struct no_os_clk clk[2], uint32_t reference_clk_khz, uint32_t rx_device_clk_khz, uint32_t tx_device_clk_khz, uint32_t rx_lane_clk_khz, uint32_t tx_lane_clk_khz)
 Application JESD setup.
 

Detailed Description

Application JESD initialization.

Author
DBogdan (drago.nosp@m.s.bo.nosp@m.gdan@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2020(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Enumeration Type Documentation

◆ jesd_clocks

Enumerator
JESD_RX 
JESD_TX 
NUM_JESD_CLKS 

Function Documentation

◆ app_jesd_init()

int32_t app_jesd_init ( struct no_os_clk clk[2],
uint32_t reference_clk_khz,
uint32_t rx_device_clk_khz,
uint32_t tx_device_clk_khz,
uint32_t rx_lane_clk_khz,
uint32_t tx_lane_clk_khz )

Application JESD setup.

Returns
0 in case of success, -1 otherwise.