Software APIs
dif_soc_dbg_ctrl.h
Go to the documentation of this file.
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_LIB_DIF_DIF_SOC_DBG_CTRL_H_
6#define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SOC_DBG_CTRL_H_
7
8/**
9 * @file
10 * @brief <a href="/book/hw/ip/soc_dbg_ctrl/">SoC Debug Control</a> Device
11 * Interface Functions
12 */
13
14#include "soc_dbg_ctrl_regs.h" // Generated.
15
16#ifdef __cplusplus
17extern "C" {
18#endif // __cplusplus
19
20/**
21 * Valid debug categories. These values MUST be kept in sync with the
22 * `dbg_category_e` enum in `hw/ip/soc_dbg_ctrl/rtl/soc_dbg_ctrl_pkg.sv`.
23 */
25 kDebugCategoryLocked = 0x50, // 7'b1010000
26 kDebugCategory2 = 0x4D, // 7'b1001101
27 kDebugCategory3 = 0x0A, // 7'b0001010
28 kDebugCategory4 = 0x63 // 7'b1100011
30
31#ifdef __cplusplus
32} // extern "C"
33#endif // __cplusplus
34
35#endif // OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SOC_DBG_CTRL_H_