i'd really like something like delayNanoseconds, we are working with powerfull processors and in this cases a few nanoseconds make the differents!
I've seen posted at time when there is a need for a shortest possible 'delay' in a AVR sketch to just insert a assembly language NOP statement which gives you a 62.5 nsec delay for each NOP on a standard arduino board. I would assume something similar could be done in a Due sketch.
first of all thanks,
i think that in the UNO case, 16mhz, the NOP you said skip a clock cycle (1/16m)= 62.5nsecods, so yes... i'm looking for something like that
unfortunately i'm not good in arm or avr assembly.. waiting for a genius