|
Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Macros | |
| #define | DURATION 5 |
| #define | HANDLER_TOKEN 0xDEADBEEF |
Functions | |
| static void | timer_handler (struct k_timer *timer) |
| void | test_prevent_interruption (void) |
| Test interrupt prevention. More... | |
Variables | |
| static struct k_timer | irqlock_timer |
| volatile uint32_t | handler_result |
| #define DURATION 5 |
| #define HANDLER_TOKEN 0xDEADBEEF |
Test interrupt prevention.
This routine tests if the kernel is capable of preventing interruption, by locking interrupts and busy-waiting to see if the system timer interrupt is serviced while interrupts are locked; in addition, this test also verifies that the system timer interrupt is serviced after interrupts are unlocked.
|
static |
| volatile uint32_t handler_result |
|
static |