Hello all,
I need to have more information about the Timestamp_get32. I use this to make a US_delay just like this:
void US_delay(uint32_t usec)
{
volatile int32_t i, start, time, current;
for (i=0; i<usec; i++)
{
start = Timestamp_get32();
time = 0;
while (time < 350)
{
current = Timestamp_get32();
time = current - start;
}
}
}
I want to know what happen if I'm calling US_delay(200) and I got a more priority interrupt that come for exemple at 120us in the 200us? Did the more priority interrupt will get the DSP process or the function US_delay will finish first and after the interrupt will get the DSP process?
I'm using a OMAP-L138 with SYSBIOS 6.33.04.39.
Thanks