Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sw_isr_table.c File Reference
#include "sw_isr_common.h"
#include <zephyr/ztest.h>

Macros

#define PARENT_IRQ_FN(i, _)
 
#define PARENT_DEV_FN(i, _)
 

Functions

void test_sw_isr_irq_parent_table_idx (void)
 Test sw_isr_table index-related function(s)
 
void test_sw_isr_irq_parent_table_dev (void)
 Test sw_isr_table device-related function(s)
 

Macro Definition Documentation

◆ PARENT_DEV_FN

#define PARENT_DEV_FN ( i,
_ )
Value:
#define NULL
Definition iar_missing_defs.h:20

◆ PARENT_IRQ_FN

#define PARENT_IRQ_FN ( i,
_ )
Value:
CONFIG_2ND_LVL_INTR_0##i##_OFFSET

Function Documentation

◆ test_sw_isr_irq_parent_table_dev()

void test_sw_isr_irq_parent_table_dev ( void )

Test sw_isr_table device-related function(s)

This test only works on driver that supports multi-instances

Validates that:

  • z_get_sw_isr_device_from_irq() returns the parent interrupt controller for an IRQN
  • z_get_sw_isr_irq_from_device() returns the IRQN of a parent interrupt controller

◆ test_sw_isr_irq_parent_table_idx()

void test_sw_isr_irq_parent_table_idx ( void )

Test sw_isr_table index-related function(s)

Validates that:

  • z_get_sw_isr_table_idx() returns the corresponding SW ISR table index for an IRQN