Tool/software:
I want to achieve a microsecond level delay, such as delay (1us) or delay (5us).
But in the example code, I can only find sleep() for seconds, usleep() for ms, and nanosleep() that I don't know how to use.
I would like to know if there are other available functions that can achieve microsecond level delay, such as the __delay_cycles() function in msp430.