This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// initialize systick to 200ns per systick | |
tp.init_systick(200, ns); | |
// call this only from the SYSTICK ISR | |
tp.systick(); | |
// init test TIMEPOINT instances | |
TIMEPOINT* tp_test1 = tp.new(); | |
TIMEPOINT* tp_test2 = tp.new(); | |
TIMEPOINT* tp_test3 = tp.new(); |
NewerOlder