Hi Steen
The routine
fnRtmkSystemTick() is called from an interrupt so will count
uTaskerSystemTick from within a task,
as long as interrupts are not disabled by the task code.
If you don't mind waiting in the code during the 10ms you can use the uTaskerSystemTick value to know when 10ms has passed (the tick resolution will however have to be increased from the 50ms standard value in the project).
Another technique is to use PIT1 as accurate timer.
See the example in
application.c (
SUPPORT_PIT1 is needed to activate the support - the demo is activated by
TEST_PIT). You can use the interrupt to signal that you can continue.
Use also the following as a guide to waiting a fixed time using state/event method, which will allows the system to continue operating during the wait:
http://www.utasker.com/forum/index.php?topic=383.0Regards
Mark