Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
#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.
Macros | |
#define | CONFIG_GEN_IRQ_START_VECTOR 0 |
#define | CONFIG_NUM_IRQS XCHAL_NUM_INTERRUPTS |
#define | arch_irq_enable(irq) xtensa_irq_enable(irq) |
#define | arch_irq_disable(irq) xtensa_irq_disable(irq) |
#define | arch_irq_is_enabled(irq) xtensa_irq_is_enabled(irq) |
Functions | |
static ALWAYS_INLINE void | xtensa_irq_enable (uint32_t irq) |
Enable interrupt on Xtensa core. | |
static ALWAYS_INLINE void | xtensa_irq_disable (uint32_t irq) |
Disable interrupt on Xtensa core. | |
static ALWAYS_INLINE unsigned int | arch_irq_lock (void) |
Implementation of arch_irq_lock. | |
static ALWAYS_INLINE void | arch_irq_unlock (unsigned int key) |
Implementation of arch_irq_unlock. | |
static ALWAYS_INLINE bool | arch_irq_unlocked (unsigned int key) |
Implementation of arch_irq_unlocked. | |
int | xtensa_irq_is_enabled (unsigned int irq) |
Query if an interrupt is enabled on Xtensa core. | |
#define arch_irq_disable | ( | irq | ) | xtensa_irq_disable(irq) |
#define arch_irq_enable | ( | irq | ) | xtensa_irq_enable(irq) |
#define arch_irq_is_enabled | ( | irq | ) | xtensa_irq_is_enabled(irq) |
#define CONFIG_GEN_IRQ_START_VECTOR 0 |
#define CONFIG_NUM_IRQS XCHAL_NUM_INTERRUPTS |
|
static |
Implementation of arch_irq_lock.
|
static |
Implementation of arch_irq_unlock.
|
static |
Implementation of arch_irq_unlocked.
|
static |
Disable interrupt on Xtensa core.
irq | Interrupt to be disabled. |
|
static |
Enable interrupt on Xtensa core.
irq | Interrupt to be enabled. |
int xtensa_irq_is_enabled | ( | unsigned int | irq | ) |
Query if an interrupt is enabled on Xtensa core.
irq | Interrupt to be queried. |