1 /* 2 * Copyright (c) 2023 Nuvoton Technology Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef _NUVOTON_NPCX_SOC_DBG_H_ 8 #define _NUVOTON_NPCX_SOC_DBG_H_ 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /** 15 * @brief Configure the Automatic Freeze mode. If this mode is enabled, whenever 16 * the Core is halted, various modules’ clocks, counters are stopped and 17 * destructive reads are disabled, pending the respective module enable bit for 18 * debugging. 19 */ 20 void npcx_dbg_freeze_enable(bool enable); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif /* _NUVOTON_NPCX_SOC_DBG_H_ */ 27