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

Application clocks initialization. More...

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

Functions

int32_t app_clock_init (struct no_os_clk dev_refclk[MULTIDEVICE_INSTANCE_COUNT])
 Application clock setup.
 
int32_t app_clock_remove (void)
 Application clocking remove.
 

Detailed Description

Application clocks 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

Function Documentation

◆ app_clock_init()

int32_t app_clock_init ( struct no_os_clk dev_refclk[MULTIDEVICE_INSTANCE_COUNT])

Application clock setup.

Returns
0 in case of success, -1 otherwise.

Application clock setup.

VPK180 / AD9082-FMCA-EBZ: HMC7044 from PLL2 = 3000 MHz. Clock plan and dividers from versal-vpk180-reva-ad9081.dts (the config the PDI was built for: 24.75 Gbps lanes). These MUST match the PDI's GT reference clock, or the GT PLL will not lock (reset-done timeout).

Returns
0 on success, negative error code otherwise.

◆ app_clock_remove()

int32_t app_clock_remove ( void )

Application clocking remove.

Returns
0 in case of success, -1 otherwise.