Interrupt management definitions. More...
Go to the source code of this file.
Data Structures | |
struct | IRQ_HANDLER |
Defines | |
#define | NUT_IRQCTL_INIT 0 |
#define | NUT_IRQCTL_CLEAR 1 |
#define | NUT_IRQCTL_STATUS 16 |
#define | NUT_IRQCTL_ENABLE 17 |
#define | NUT_IRQCTL_DISABLE 18 |
#define | NUT_IRQCTL_GETMODE 24 |
#define | NUT_IRQCTL_SETMODE 25 |
#define | NUT_IRQCTL_GETPRIO 32 |
#define | NUT_IRQCTL_SETPRIO 33 |
#define | NUT_IRQCTL_GETCOUNT 96 |
#define | NUT_IRQCTL_SETCOUNT 97 |
#define | NUT_IRQMODE_NONE 0 |
#define | NUT_IRQMODE_LOWLEVEL 1 |
#define | NUT_IRQMODE_HIGHLEVEL 2 |
#define | NUT_IRQMODE_FALLINGEDGE 5 |
#define | NUT_IRQMODE_RISINGEDGE 6 |
#define | NUT_IRQMODE_EDGE 7 |
#define | NUT_IRQMODE_LEVEL 8 |
Functions | |
void | CallHandler (IRQ_HANDLER *irh) |
Call a registered interrupt handler. | |
int | NutRegisterIrqHandler (IRQ_HANDLER *irh, void(*handler)(void *), void *arg) |
Register an interrupt handler. | |
int | NutIrqEnable (IRQ_HANDLER *irq) |
Enable a specified interrupt. | |
int | NutIrqDisable (IRQ_HANDLER *irq) |
Disable a specified interrupt. | |
int | NutIrqSetPriority (IRQ_HANDLER *irq, int level) |
Modify the priority level of an interrupt. | |
int | NutIrqSetMode (IRQ_HANDLER *irq, int mode) |
Modify the interrupt mode. |
Interrupt management definitions.
Definition in file irqreg.h.