blob: 1a81c3057841a4152a123dd416a39c2e0b02cc2d [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "sw/device/lib/testing/clkmgr_testutils.h"
#include "sw/device/lib/dif/dif_clkmgr.h"
// `extern` declarations to give the inline functions in the
// corresponding header a link location.
extern bool clkmgr_testutils_get_trans_clock_status(
dif_clkmgr_t *clkmgr, dif_clkmgr_hintable_clock_t clock);
extern void clkmgr_testutils_check_trans_clock_gating(
dif_clkmgr_t *clkmgr, dif_clkmgr_hintable_clock_t clock,
bool exp_clock_enabled, uint32_t timeout_usec);