1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/sys/xtimer_msg_receive_timeout
2024-03-26 14:53:35 +01:00
..
tests tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
main.c tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
Makefile tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests: move sys related applications to tests/sys/ subdirectory 2023-05-10 12:02:58 +02:00

test application for xtimer_msg_receive_timeout()

This test will sequentially start TEST_COUNT xtimers to send a IPC msg, alternating with an interval of TEST_PERIOD +/- 10%. Every time a timer was set, it will wait for a message for at most TEST_PERIOD microseconds. This should succeed with a message or fail with timeout in an alternating manner.

Default values are TEST_COUNT = 10, and TEST_PERIOD = 100ms = 100000us.