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

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
 

Detailed Description

Structure describing a callback to be registered.

Todo:
: remove this, use struct irq_callback instead.

Member Data Documentation

◆ callback

void(* no_os_callback_desc::callback) (void *context)

Callback to be called when the event an event occurs.

◆ ctx

void* no_os_callback_desc::ctx

Parameter to be passed when the callback is called

◆ event

enum no_os_irq_event no_os_callback_desc::event

Platform specific event that triggers the calling of the callback.

◆ handle

void* no_os_callback_desc::handle

This will be used to store HAL specific descriptors

◆ peripheral

enum no_os_irq_peripheral no_os_callback_desc::peripheral

Interrupt source peripheral specifier.


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