|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
#include <zephyr/kernel.h>#include <zephyr/ztest.h>#include <zephyr/irq.h>#include <zephyr/tc_util.h>#include <zephyr/sw_isr_table.h>#include <zephyr/interrupt_util.h>#include <zephyr/sys/barrier.h>Macros | |
| #define | ISR1_OFFSET 0 |
| #define | ISR2_OFFSET 1 |
| #define | ISR3_OFFSET 2 |
| #define | ISR4_OFFSET 3 |
| #define | ISR5_OFFSET 4 |
| #define | ISR6_OFFSET 5 |
| #define | TEST_NUM_IRQS CONFIG_NUM_IRQS |
| #define | TEST_IRQ_TABLE_SIZE |
| #define | IRQ_LINE(offset) |
| #define | TABLE_INDEX(offset) |
| #define | TRIG_CHECK_SIZE 6 |
| #define | ISR3_ARG 0xb01dface |
| #define | ISR4_ARG 0xca55e77e |
| #define | ISR5_ARG 0xf0ccac1a |
| #define | ISR6_ARG 0xba5eba11 |
| #define | IRQ_FLAGS 0 |
Functions | |
| void | isr3 (const void *param) |
| void | isr4 (const void *param) |
| void | isr5 (const void *param) |
| void | isr6 (const void *param) |
| __no_optimization int | test_irq (int offset) |
| void | test_build_time_direct_interrupt (void) |
| test to validate direct interrupt | |
| void | test_build_time_interrupt (void) |
| test to validate gen_isr_table and interrupt | |
| void | test_run_time_interrupt (void) |
| test to validate gen_isr_table and dynamic interrupt | |
| static void * | gen_isr_table_setup (void) |
| ZTEST_SUITE (gen_isr_table, NULL, gen_isr_table_setup, NULL, NULL, NULL) | |
Variables | |
| static volatile int | trigger_check [6] |
| #define IRQ_FLAGS 0 |
| #define IRQ_LINE | ( | offset | ) |
| #define ISR1_OFFSET 0 |
| #define ISR2_OFFSET 1 |
| #define ISR3_ARG 0xb01dface |
| #define ISR3_OFFSET 2 |
| #define ISR4_ARG 0xca55e77e |
| #define ISR4_OFFSET 3 |
| #define ISR5_ARG 0xf0ccac1a |
| #define ISR5_OFFSET 4 |
| #define ISR6_ARG 0xba5eba11 |
| #define ISR6_OFFSET 5 |
| #define TABLE_INDEX | ( | offset | ) |
| #define TEST_IRQ_TABLE_SIZE |
| #define TEST_NUM_IRQS CONFIG_NUM_IRQS |
| #define TRIG_CHECK_SIZE 6 |
|
static |
| void isr3 | ( | const void * | param | ) |
| void isr4 | ( | const void * | param | ) |
| void isr5 | ( | const void * | param | ) |
| void isr6 | ( | const void * | param | ) |
| __no_optimization int test_irq | ( | int | offset | ) |
| ZTEST_SUITE | ( | gen_isr_table | , |
| NULL | , | ||
| gen_isr_table_setup | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | ) |
|
static |