#include <stdint.h>
#include <zephyr/toolchain.h>
#include <xtensa/config/core-isa.h>
#include <zephyr/irq.h>
Go to the source code of this file.
◆ arch_irq_disable
#define arch_irq_disable |
( |
| irq | ) |
|
Value:
static ALWAYS_INLINE void xtensa_irq_disable(uint32_t irq)
Disable interrupt on Xtensa core.
Definition irq.h:128
◆ arch_irq_enable
#define arch_irq_enable |
( |
| irq | ) |
|
Value:
static ALWAYS_INLINE void xtensa_irq_enable(uint32_t irq)
Enable interrupt on Xtensa core.
Definition irq.h:118
◆ arch_irq_is_enabled
#define arch_irq_is_enabled |
( |
| irq | ) |
|
Value:
int xtensa_irq_is_enabled(unsigned int irq)
Query if an interrupt is enabled on Xtensa core.
◆ CONFIG_GEN_IRQ_START_VECTOR
#define CONFIG_GEN_IRQ_START_VECTOR 0 |
◆ CONFIG_NUM_IRQS
#define CONFIG_NUM_IRQS XCHAL_NUM_INTERRUPTS |
◆ arch_irq_lock()
◆ arch_irq_unlock()
◆ arch_irq_unlocked()
◆ xtensa_irq_disable()
Disable interrupt on Xtensa core.
- Parameters
-
irq | Interrupt to be disabled. |
◆ xtensa_irq_enable()
Enable interrupt on Xtensa core.
- Parameters
-
irq | Interrupt to be enabled. |
◆ xtensa_irq_is_enabled()
int xtensa_irq_is_enabled |
( |
unsigned int | irq | ) |
|
Query if an interrupt is enabled on Xtensa core.
- Parameters
-
irq | Interrupt to be queried. |
- Returns
- True if interrupt is enabled, false otherwise.