Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
nested_irq.c File Reference
#include <ztest.h>
#include <interrupt_util.h>

Macros

#define DURATION   5
 
#define ISR0_TOKEN   0xDEADBEEF
 
#define ISR1_TOKEN   0xCAFEBABE
 
#define IRQ0_LINE   (CONFIG_NUM_IRQS - 1)
 
#define IRQ1_LINE   (CONFIG_NUM_IRQS - 2)
 
#define IRQ0_PRIO   1
 
#define IRQ1_PRIO   0
 

Functions

void test_nested_isr (void)
 

Macro Definition Documentation

◆ DURATION

#define DURATION   5

◆ IRQ0_LINE

#define IRQ0_LINE   (CONFIG_NUM_IRQS - 1)

◆ IRQ0_PRIO

#define IRQ0_PRIO   1

◆ IRQ1_LINE

#define IRQ1_LINE   (CONFIG_NUM_IRQS - 2)

◆ IRQ1_PRIO

#define IRQ1_PRIO   0

◆ ISR0_TOKEN

#define ISR0_TOKEN   0xDEADBEEF

◆ ISR1_TOKEN

#define ISR1_TOKEN   0xCAFEBABE

Function Documentation

◆ test_nested_isr()

void test_nested_isr ( void  )