Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Public interface for configuring interrupts. More...
Go to the source code of this file.
Functions | |
static void | irq_enable_next_level (const struct device *dev, uint32_t irq) |
Enable an IRQ in the next level. | |
static void | irq_disable_next_level (const struct device *dev, uint32_t irq) |
Disable an IRQ in the next level. | |
static unsigned int | irq_is_enabled_next_level (const struct device *dev) |
Get IRQ enable state. | |
static void | irq_set_priority_next_level (const struct device *dev, uint32_t irq, uint32_t prio, uint32_t flags) |
Set IRQ priority. | |
static unsigned int | irq_line_is_enabled_next_level (const struct device *dev, unsigned int irq) |
Get IRQ line enable state. | |
Public interface for configuring interrupts.
Disable an IRQ in the next level.
This routine disables interrupts present in the interrupt controller.
dev | Pointer to the device structure for the driver instance. |
irq | IRQ to be disabled. |
Enable an IRQ in the next level.
This routine enables interrupts present in the interrupt controller.
dev | Pointer to the device structure for the driver instance. |
irq | IRQ to be enabled. |
Get IRQ enable state.
This routine indicates if any interrupts are enabled in the interrupt controller.
dev | Pointer to the device structure for the driver instance. |
|
inlinestatic |
Get IRQ line enable state.
Query if a particular IRQ line is enabled.
dev | Pointer to the device structure for the driver instance. |
irq | IRQ line to be queried. |
|
inlinestatic |
Set IRQ priority.
This routine indicates if any interrupts are enabled in the interrupt controller.
dev | Pointer to the device structure for the driver instance. |
irq | IRQ to be disabled. |
prio | priority for irq in the interrupt controller. |
flags | controller specific flags. |