no-OS
Public Attributes | List of all members
callback_desc Struct Reference

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
 

Detailed Description

Structure describing a callback to be registered.

Member Data Documentation

◆ callback

void(* callback_desc::callback) (void *ctx, uint32_t event, void *extra)

Callback to be called when the event an event occurs

Parameters
ctx- Same as callback_desc::ctx
event- Event that generated the callback
extra- Platform specific data

◆ config

void* callback_desc::config

Platform specific configuration for a callback

◆ ctx

void* callback_desc::ctx

Parameter to be passed when the callback is called


The documentation for this struct was generated from the following file: