Software APIs
sw
device
tests
clkmgr_off_otbn_trans_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 tests that disabling the OTBN clock causes CSR accesses to it to fail.
6
7
#include "sw/device/tests/clkmgr_off_trans_impl.h"
8
9
#include "
hw/top_earlgrey/sw/autogen/top_earlgrey.h
"
10
11
bool
test_main
(
void
) {
12
return
execute_off_trans_test(
kTopEarlgreyHintableClocksMainOtbn
);
13
}
Return to
OpenTitan Documentation