Software APIs
sw
device
tests
clkmgr_external_clk_src_for_sw_fast_test.c
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
// This test enables the external clock running at nominal speed. It checks
6
// the expected frequencies via the clock count measurement feature.
7
8
#include <
stdbool.h
>
9
10
#include "
sw/device/lib/testing/test_framework/ottf_main.h
"
11
#include "sw/device/tests/clkmgr_external_clk_src_for_sw_impl.h"
12
13
OTTF_DEFINE_TEST_CONFIG();
14
15
bool
test_main
(
void
) {
16
execute_clkmgr_external_clk_src_for_sw_test(
/*fast_ext_clk=*/
true
);
17
return
true
;
18
}
Return to
OpenTitan Documentation