|
Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include "test_shared_irq.h"Data Structures | |
| struct | shared_irq_fixture |
Macros | |
| #define | TABLE_OFFSET 0 |
Functions | |
| static void | reset_test_vector (void) |
| static void | dynamic_shared_irq_suite_after (void *data) |
| static void | dummy_isr (const void *data) |
| static unsigned int | get_irq_slot (unsigned int start) |
| static void * | dynamic_shared_irq_suite_setup (void) |
| static void | dynamic_shared_irq_suite_before (void *data) |
| ZTEST (shared_irq_feature, test_dynamic_shared_irq_write) | |
| Test writing to a vector with a shared interrupt. | |
| ZTEST (shared_irq_feature, test_dynamic_shared_irq_disconnect_write) | |
| Test writing to a vector after an ISR/arg disconnect. | |
| ZTEST_SUITE (shared_irq_feature, NULL, dynamic_shared_irq_suite_setup, dynamic_shared_irq_suite_before, dynamic_shared_irq_suite_after, NULL) | |
Variables | |
| static struct shared_irq_fixture | fixture |
| #define TABLE_OFFSET 0 |
|
static |
|
static |
|
static |
|
static |
|
static |
| ZTEST | ( | shared_irq_feature | , |
| test_dynamic_shared_irq_disconnect_write | |||
| ) |
Test writing to a vector after an ISR/arg disconnect.
This tests if ISR/arg pairs are disconnected successfully and the interrupts are "unshared" whenever a single ISR/arg pair is left.
| ZTEST | ( | shared_irq_feature | , |
| test_dynamic_shared_irq_write | |||
| ) |
Test writing to a vector with a shared interrupt.
This tests if interrupts are dynamically shared successfully (i.e: multiple ISR/arg pairs are called whenever the interrupt they were registered for is triggered).
| ZTEST_SUITE | ( | shared_irq_feature | , |
| NULL | , | ||
| dynamic_shared_irq_suite_setup | , | ||
| dynamic_shared_irq_suite_before | , | ||
| dynamic_shared_irq_suite_after | , | ||
| NULL | |||
| ) |
|
static |