Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
irq.h File Reference
#include <toolchain.h>
#include <xtensa/config/core-isa.h>
#include <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)   z_xtensa_irq_enable(irq)
 
#define arch_irq_disable(irq)   z_xtensa_irq_disable(irq)
 
#define arch_irq_is_enabled(irq)   z_xtensa_irq_is_enabled(irq)
 

Functions

static ALWAYS_INLINE unsigned int arch_irq_lock (void)
 
static ALWAYS_INLINE void arch_irq_unlock (unsigned int key)
 
static ALWAYS_INLINE bool arch_irq_unlocked (unsigned int key)
 

Macro Definition Documentation

◆ arch_irq_disable

#define arch_irq_disable (   irq)    z_xtensa_irq_disable(irq)

◆ arch_irq_enable

#define arch_irq_enable (   irq)    z_xtensa_irq_enable(irq)

◆ arch_irq_is_enabled

#define arch_irq_is_enabled (   irq)    z_xtensa_irq_is_enabled(irq)

◆ CONFIG_GEN_IRQ_START_VECTOR

#define CONFIG_GEN_IRQ_START_VECTOR   0

◆ CONFIG_NUM_IRQS

#define CONFIG_NUM_IRQS   XCHAL_NUM_INTERRUPTS

Function Documentation

◆ arch_irq_lock()

static ALWAYS_INLINE unsigned int arch_irq_lock ( void  )
static

◆ arch_irq_unlock()

static ALWAYS_INLINE void arch_irq_unlock ( unsigned int  key)
static

◆ arch_irq_unlocked()

static ALWAYS_INLINE bool arch_irq_unlocked ( unsigned int  key)
static