embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

install_irq_handler

Function install_irq_handler 

Source
pub unsafe fn install_irq_handler(
    irq: Interrupt,
    handler: unsafe extern "C" fn(),
)
Expand description

Install an interrupt handler into the current VTOR-based vector table. This writes the function pointer at index 16 + irq number. Safety: Caller must ensure VTOR points at a writable RAM table and that handler has the correct ABI and lifetime.