|
Xenomai
3.0.5
|
|
Functions | |
| unsigned int | a4l_get_irq (struct a4l_device *dev) |
| Get the interrupt number in use for a specific device. More... | |
| int | a4l_request_irq (struct a4l_device *dev, unsigned int irq, a4l_irq_hdlr_t handler, unsigned long flags, void *cookie) |
| Register an interrupt handler for a specific device. More... | |
| int | a4l_free_irq (struct a4l_device *dev, unsigned int irq) |
| Release an interrupt handler for a specific device. More... | |
| int a4l_free_irq | ( | struct a4l_device * | dev, |
| unsigned int | irq | ||
| ) |
Release an interrupt handler for a specific device.
| [in] | dev | Device descriptor structure |
| [in] | irq | Line number of the addressed IRQ |
| unsigned int a4l_get_irq | ( | struct a4l_device * | dev | ) |
Get the interrupt number in use for a specific device.
| [in] | dev | Device descriptor structure |
References A4L_SUBD_AI, A4L_SUBD_AO, A4L_SUBD_CALIB, A4L_SUBD_COUNTER, A4L_SUBD_DI, A4L_SUBD_DIO, A4L_SUBD_DO, A4L_SUBD_MEMORY, A4L_SUBD_PROC, A4L_SUBD_SERIAL, A4L_SUBD_TIMER, A4L_SUBD_TYPES, and A4L_SUBD_UNUSED.
| int a4l_request_irq | ( | struct a4l_device * | dev, |
| unsigned int | irq, | ||
| a4l_irq_hdlr_t | handler, | ||
| unsigned long | flags, | ||
| void * | cookie | ||
| ) |
Register an interrupt handler for a specific device.
| [in] | dev | Device descriptor structure |
| [in] | irq | Line number of the addressed IRQ |
| [in] | handler | Interrupt handler |
| [in] | flags | Registration flags:
|
| [in] | cookie | Pointer to be passed to the interrupt handler on invocation |