irq_event_t Struct Reference

Interrupt event structure. More...

Detailed Description

Interrupt event structure.

Using modules have to define a structure of this type for each interrupt source used by the modules. Structures of this type are used to put them in a pending interrupt queue indicating that an interrupt of the corresponding source has occurred and needs to be handled. Each interrupt event can only be pending once.

Interrupt event structures have to be pre-allocated to use them.

Definition at line 193 of file irq_handler.h.

#include <irq_handler.h>

Data Fields

event_t event
 Event structure.
bool pending
 Indicates whether the same interrupt request event is already pending.
irq_isr_t isr
 Function to be called to handle the interrupt.
void * ctx
 Context used by the function.

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