Software APIs
clkmgr_external_clk_src_for_sw_impl.h
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #ifndef OPENTITAN_SW_DEVICE_TESTS_CLKMGR_EXTERNAL_CLK_SRC_FOR_SW_IMPL_H_
6 #define OPENTITAN_SW_DEVICE_TESTS_CLKMGR_EXTERNAL_CLK_SRC_FOR_SW_IMPL_H_
7 
8 #include <stdbool.h>
9 
10 /**
11  * This test enables the external clock running at high or low speed.
12  * It checks the expected frequencies via the clock count measurement feature.
13  *
14  * @param fast_ext_clk When true, run the test for an external clock running
15  * at 96 MHz.
16  */
17 void execute_clkmgr_external_clk_src_for_sw_test(bool fast_ext_clk);
18 
19 #endif // OPENTITAN_SW_DEVICE_TESTS_CLKMGR_EXTERNAL_CLK_SRC_FOR_SW_IMPL_H_