![]() |
no-OS
|
Structure describing a callback to be registered. More...
#include <no_os_irq.h>
Public Attributes | |
| void(* | callback )(void *context) |
| void * | ctx |
| enum no_os_irq_event | event |
| enum no_os_irq_peripheral | peripheral |
| void * | handle |
Structure describing a callback to be registered.
| void(* no_os_callback_desc::callback) (void *context) |
Callback to be called when the event an event occurs.
| void* no_os_callback_desc::ctx |
Parameter to be passed when the callback is called
| enum no_os_irq_event no_os_callback_desc::event |
Platform specific event that triggers the calling of the callback.
| void* no_os_callback_desc::handle |
This will be used to store HAL specific descriptors
| enum no_os_irq_peripheral no_os_callback_desc::peripheral |
Interrupt source peripheral specifier.