pub fn is_core1_region1_monitor_interrupt_set(&self) -> bool {
        self.regs()
            .core_1_intr_raw()
            .read()
            .core_1_area_dram0_1_rd_raw()
            .bit_is_set()
            || self
                .regs()
                .core_1_intr_raw()
                .read()
                .core_1_area_dram0_1_wr_raw()
                .bit_is_set()
    }
Check, if region1 monitoring interrupt is set on secondary core.
esp-hal/src/assist_debug.rs