|void||wait_us (int us)|
|Generic wait functions. More...|
|void||wait_ns (unsigned int ns)|
|Waits a number of nanoseconds. More...|
|void wait_ns||(||unsigned int||ns||)|
Waits a number of nanoseconds.
This function spins the CPU to produce a small delay. It should normally only be used for delays of 10us (10000ns) or less. As it is calculated based on the expected execution time of a software loop, it may well run slower than requested based on activity from other threads and interrupts. If greater precision is required, this can be called from inside a critical section.
|ns||the number of nanoseconds to wait|
Generic wait functions.
These provide simple NOP type wait capabilities.
Waits a number of microseconds.
|us||the whole number of microseconds to wait|