Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
IRQ Offload interface. More...
Go to the source code of this file.
Typedefs | |
typedef void(* | irq_offload_routine_t) (const void *parameter) |
Functions | |
void | irq_offload (irq_offload_routine_t routine, const void *parameter) |
Run a function in interrupt context. More... | |
IRQ Offload interface.
typedef void(* irq_offload_routine_t) (const void *parameter) |
void irq_offload | ( | irq_offload_routine_t | routine, |
const void * | parameter | ||
) |
Run a function in interrupt context.
This function synchronously runs the provided function in interrupt context, passing in the supplied device. Useful for test code which needs to show that kernel objects work correctly in interrupt context.
routine | The function to run |
parameter | Argument to pass to the function when it is run as an interrupt |