I want to implement the millis() function of arduino using QMSI 1.1 Api.
I am not getting any clue to do it.
can any one help me to implement the functionality of this function for Quark SE C1000 using QMSI1.1.
There's the function in D2000 - "get_ticks();" which returns working processor time in ticks and when you know the processor frequency you can estimate a time in useconds, msecond, etc.
There are several ways to do this. You might want to check the 'get_ticks(), a 64 bit Timestamp counter in the 'clk.c' driver or leverage the internal RTC. You can configure the RTC to run at 1Hz and read the RTC_CCVR register.
I hope that helps you. Thank you.
Intel Customer Support