With VisualDSP++ 5.0 installation, under \src\drivers\flash folder, there are some driver written for serial and parallel devices.
I understood how they work, and I've been able to successfully write drivers for other devices.
Now I'm going to use these drivers into a VDK project, and I noticed that inside the source files there are some istructions similar to
for(n=0; n<DELAY; n++)
with force the processo to wait for some conditions.
I don't think it's a good idea to use such a kind of instructions in a multithreaded VDK project.
Am I right?
How should I modify these instructions?