mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
921d9cf633
This test checks, if the timer returns the correct time (xtimer_now_usec() is called), when interrupts are disabled. Specifically tested is if the time is correct after a low-level timer overflow.
9 lines
540 B
Markdown
9 lines
540 B
Markdown
# README for xtimer_now_irq test
|
|
|
|
This test checks, if the timer returns the correct time (xtimer_now_usec() is called), when interrupts are disabled. Specifically tested is if the time is correct after a low-level timer overflow.
|
|
|
|
When the returned value is incorrect the test will print: "ERROR: wrong time with interrupts disabled".
|
|
|
|
This test must be run over at least one full timer period. Meaning the test only finishes in reasonable short time on platforms with small timers up to 24 bit.
|
|
This test does not work for 32 bit timers.
|