no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
jesd204_clk.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef JESD204_CLK_H_
34#define JESD204_CLK_H_
35
36#include <stdint.h>
37#include "axi_adxcvr.h"
38#include "axi_jesd204_rx.h"
39#include "axi_jesd204_tx.h"
40
46
50extern const struct no_os_clk_platform_ops jesd204_clk_ops;
51
52/* Start the clock. */
53int32_t jesd204_clk_enable(struct jesd204_clk *clk);
54/* Stop the clock. */
55int32_t jesd204_clk_disable(struct jesd204_clk *clk);
56/* Change the frequency of the clock. */
57int32_t jesd204_clk_set_rate(struct jesd204_clk *clk, uint32_t chan,
58 uint32_t rate);
59#endif
Driver for the ADI AXI-ADXCVR Module.
Driver for the Analog Devices AXI-JESD204-RX peripheral.
Driver for the Analog Devices AXI-JESD204-TX peripheral.
const struct no_os_clk_platform_ops jesd204_clk_ops
jesd204 specific CLK platform ops structure
Definition jesd204_clk.c:218
int32_t jesd204_clk_enable(struct jesd204_clk *clk)
Definition jesd204_clk.c:44
int32_t jesd204_clk_disable(struct jesd204_clk *clk)
Definition jesd204_clk.c:74
int32_t jesd204_clk_set_rate(struct jesd204_clk *clk, uint32_t chan, uint32_t rate)
Definition jesd204_clk.c:106
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition altera_adxcvr.h:79
Definition axi_jesd204_rx.h:51
Definition axi_jesd204_tx.h:64
Definition jesd204_clk.h:41
struct adxcvr * xcvr
Definition jesd204_clk.h:42
struct axi_jesd204_rx * jesd_rx
Definition jesd204_clk.h:43
struct axi_jesd204_tx * jesd_tx
Definition jesd204_clk.h:44
Structure holding CLK function pointers that point to the platform specific function.
Definition no_os_clk.h:85