irq_handler.h File Reference
#include <stdbool.h>
#include "assert.h"
#include "event.h"
+ Include dependency graph for irq_handler.h:

Go to the source code of this file.

Data Structures

struct  irq_event_t
 Interrupt event structure. More...
 

Macros

#define IRQ_HANDLER_PRIO   0
 Default priority of the interrupt handler thread. More...
 
#define IRQ_EVENT_INIT
 Static initializer for irq_event_t. More...
 

Typedefs

typedef void(* irq_isr_t) (void *ctx)
 Interrupt handling function prototype. More...
 

Functions

static void irq_event_init (irq_event_t *irq)
 Initialize an interrupt event. More...
 
int irq_event_add (irq_event_t *irq)
 Add an interrupt event to the pending interrupt queue. More...