no-OS
|
Structure describing a callback to be registered. More...
#include <irq.h>
Public Attributes | |
void(* | callback )(void *ctx, uint32_t event, void *extra) |
void * | ctx |
void * | config |
Structure describing a callback to be registered.
void(* callback_desc::callback) (void *ctx, uint32_t event, void *extra) |
Callback to be called when the event an event occurs
ctx | - Same as callback_desc::ctx |
event | - Event that generated the callback |
extra | - Platform specific data |
void* callback_desc::config |
Platform specific configuration for a callback
void* callback_desc::ctx |
Parameter to be passed when the callback is called