5 #ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SYSRST_CTRL_H_
6 #define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SYSRST_CTRL_H_
15 #include "sysrst_ctrl_regs.h"
224 1U << SYSRST_CTRL_KEY_INTR_STATUS_PWRB_H2L_BIT,
229 1U << SYSRST_CTRL_KEY_INTR_STATUS_KEY0_IN_H2L_BIT,
234 1U << SYSRST_CTRL_KEY_INTR_STATUS_KEY1_IN_H2L_BIT,
239 1U << SYSRST_CTRL_KEY_INTR_STATUS_KEY2_IN_H2L_BIT,
244 1U << SYSRST_CTRL_KEY_INTR_STATUS_AC_PRESENT_H2L_BIT,
249 1U << SYSRST_CTRL_KEY_INTR_STATUS_EC_RST_L_H2L_BIT,
254 1U << SYSRST_CTRL_KEY_INTR_STATUS_FLASH_WP_L_H2L_BIT,
259 1U << SYSRST_CTRL_KEY_INTR_STATUS_PWRB_L2H_BIT,
264 1U << SYSRST_CTRL_KEY_INTR_STATUS_KEY0_IN_L2H_BIT,
269 1U << SYSRST_CTRL_KEY_INTR_STATUS_KEY1_IN_L2H_BIT,
274 1U << SYSRST_CTRL_KEY_INTR_STATUS_KEY2_IN_L2H_BIT,
279 1U << SYSRST_CTRL_KEY_INTR_STATUS_AC_PRESENT_L2H_BIT,
284 1U << SYSRST_CTRL_KEY_INTR_STATUS_EC_RST_L_L2H_BIT,
289 1U << SYSRST_CTRL_KEY_INTR_STATUS_FLASH_WP_L_L2H_BIT,
300 1U << SYSRST_CTRL_COMBO_INTR_STATUS_COMBO0_H2L_BIT,
305 1U << SYSRST_CTRL_COMBO_INTR_STATUS_COMBO1_H2L_BIT,
310 1U << SYSRST_CTRL_COMBO_INTR_STATUS_COMBO2_H2L_BIT,
315 1U << SYSRST_CTRL_COMBO_INTR_STATUS_COMBO3_H2L_BIT,
651 bool allow_zero,
bool allow_one);
669 bool *allow_zero,
bool *allow_one);
894 #endif // __cplusplus
896 #endif // OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SYSRST_CTRL_H_