Go to the source code of this file.
Defines | |
| #define | DDEKIT_IRQ_PRIO 0x11 |
Functions | |
| ddekit_thread_t * | ddekit_interrupt_attach (int irq, int shared, void(*thread_init)(void *), void(*handler)(void *), void *priv) |
| Attach to hardware interrupt. | |
| void | ddekit_interrupt_detach (int irq) |
| Detach from a previously attached interrupt. | |
| void | ddekit_interrupt_disable (int irq) |
| Block interrupt. | |
| void | ddekit_interrupt_enable (int irq) |
| Enable interrupt. | |
| #define DDEKIT_IRQ_PRIO 0x11 |
Definition at line 17 of file interrupt.h.
| ddekit_thread_t* ddekit_interrupt_attach | ( | int | irq, | |
| int | shared, | |||
| void(*)(void *) | thread_init, | |||
| void(*)(void *) | handler, | |||
| void * | priv | |||
| ) |
Attach to hardware interrupt.
| irq | IRQ number to attach to | |
| shared | set to 1 if interrupt sharing is supported; set to 0 otherwise | |
| thread_init | called just after DDEKit internal init and before any other function | |
| handler | IRQ handler for interrupt irq | |
| priv | private token (argument for thread_init and handler) |
Definition at line 155 of file interrupt.c.
| void ddekit_interrupt_detach | ( | int | irq | ) |
Detach from a previously attached interrupt.
| irq | IRQ number |
Definition at line 205 of file interrupt.c.
| void ddekit_interrupt_disable | ( | int | irq | ) |
| void ddekit_interrupt_enable | ( | int | irq | ) |
1.5.6