Go to the source code of this file.
◆ isr_t
typedef int(* isr_t) (const struct device *dev, unsigned int irq_number) |
◆ shared_irq_disable_t
typedef int(* shared_irq_disable_t) (const struct device *dev, const struct device *isr_dev) |
◆ shared_irq_enable_t
typedef int(* shared_irq_enable_t) (const struct device *dev, const struct device *isr_dev) |
◆ shared_irq_register_t
typedef int(* shared_irq_register_t) (const struct device *dev, isr_t isr_func, const struct device *isr_dev) |
◆ shared_irq_disable()
static int shared_irq_disable |
( |
const struct device * | dev, |
|
|
const struct device * | isr_dev ) |
|
inlinestatic |
Disable ISR for device.
- Parameters
-
dev | Pointer to device structure for SHARED_IRQ driver instance. |
isr_dev | Pointer to the device that will service the interrupt. |
◆ shared_irq_enable()
static int shared_irq_enable |
( |
const struct device * | dev, |
|
|
const struct device * | isr_dev ) |
|
inlinestatic |
Enable ISR for device.
- Parameters
-
dev | Pointer to device structure for SHARED_IRQ driver instance. |
isr_dev | Pointer to the device that will service the interrupt. |
◆ shared_irq_isr_register()
static int shared_irq_isr_register |
( |
const struct device * | dev, |
|
|
isr_t | isr_func, |
|
|
const struct device * | isr_dev ) |
|
inlinestatic |
Register a device ISR.
- Parameters
-
dev | Pointer to device structure for SHARED_IRQ driver instance. |
isr_func | Pointer to the ISR function for the device. |
isr_dev | Pointer to the device that will service the interrupt. |