Software APIs
sw
device
tests
sram_ctrl_sleep_sram_ret_contents_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_SRAM_CTRL_SLEEP_SRAM_RET_CONTENTS_IMPL_H_
6
#define OPENTITAN_SW_DEVICE_TESTS_SRAM_CTRL_SLEEP_SRAM_RET_CONTENTS_IMPL_H_
7
8
#include <
stdbool.h
>
9
10
/**
11
* This test checks whether the contents of retention sram are modified
12
* by either low power exit reset and hardware resets, depending on whether
13
* they are rescrambed or not.
14
*
15
* @param scramble When true, scramble the retention sram contents.
16
*/
17
bool
execute_sram_ctrl_sleep_ret_sram_contents_test(
bool
scramble);
18
19
#endif
// OPENTITAN_SW_DEVICE_TESTS_SRAM_CTRL_SLEEP_SRAM_RET_CONTENTS_IMPL_H_
Return to
OpenTitan Documentation