Hi Grr, I have never needed to use this function neither this range (ns). But I used the usleep function which resolution is defined as CONFIG_USEC_PER_TICK. But maybe, in your case, for such range, you should consider using a hardware timer or a Timer Hook. Take a look at this wiki: https://cwiki.apache.org/confluence/display/NUTTX/Short+Time+Delays
Sara Em qua., 24 de mar. de 2021 às 13:37, Grr <gebbe...@gmail.com> escreveu: > Hello to all. > > Looking for the right way to create a _very_ short delay (10-100 ns), I > found clock_nanosleep, whose description says: > > "The suspension time caused by this function may be longer than requested > because the argument value is rounded up to an integer multiple of the > sleep resolution" > > What is the sleep resolution and where/how is defined? > > TIA > Grr >