1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph_ptp_timer
2020-12-02 17:53:01 +01:00
..
tests tests: Added test for PTP timer 2020-12-02 17:53:01 +01:00
main.c tests: Added test for PTP timer 2020-12-02 17:53:01 +01:00
Makefile tests: Added test for PTP timer 2020-12-02 17:53:01 +01:00
README.md tests: Added test for PTP timer 2020-12-02 17:53:01 +01:00

Peripheral PTP Timer Test Application

This tests setting the PTP timer to the following targets:

  • one second into the future (using the absolute API)
  • 1st of January 1970 0:00:00 (using the absolute API)
    • This is expected to fire right away according to the API
  • 1 µs to 99µs into the future (using the relative API)

If all timeouts fire within ± 10 µs of the target time, the test succeeds.

Expected Output on Success

main(): This is RIOT! (Version: <INSERT VERSION HERE>)
TEST SUCCEEDED!