pub fn enable_direct(interrupt: Interrupt, cpu_interrupt: CpuInterrupt) -> Result<(), Error> {
    if RESERVED_INTERRUPTS.contains(&(cpu_interrupt as _)) {
        return Err(Error::CpuInterruptReserved);
    }
    unsafe {
        map(Cpu::current(), interrupt, cpu_interrupt);

        xtensa_lx::interrupt::enable_mask(
            xtensa_lx::interrupt::get_mask() | (1 << cpu_interrupt as u32),
        );
    }
    Ok(())
}
Enable an interrupt by directly binding it to a available CPU interrupt

Unless you are sure, you most likely want to use [`enable`] instead.

Trying using a reserved interrupt from [`RESERVED_INTERRUPTS`] will return
an error.
esp-hal/src/interrupt/xtensa.rs