Function bind_interrupt

Source
pub unsafe fn bind_interrupt(
    interrupt: Interrupt,
    handler: unsafe extern "C" fn(),
)
Available on crate feature unstable only.
Expand description

Binds the given interrupt to the given handler.

§Safety

This will replace any previously bound interrupt handler