no-OS
|
Structure describing a callback to be registered. More...
#include <no_os_irq.h>
Public Attributes | |
void(* | callback )(void *context) |
void(* | legacy_callback )(void *ctx, uint32_t event, void *extra) |
void * | ctx |
void * | legacy_config |
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
Callback to be called when the event an event occurs
ctx | - Same as no_os_callback_desc::ctx |
event | - Event that generated the callback |
extra | - Platform specific data |
void* no_os_callback_desc::legacy_config |
Platform specific configuration for a callback
enum no_os_irq_peripheral no_os_callback_desc::peripheral |
Interrupt source peripheral specifier.