Thank you, delay/DELAY is what I need. On 23/07/2025 14:23, Jonathan A. Kollasch wrote:
On Wed, Jul 23, 2025 at 09:06:32AM +0000, Vincent DEFERT wrote:What's the proper way to generate a short delay (1-100 microseconds) in a driver, in order to implement a peripheral initialisation procedure. On a microcontroller, I would use the systick timer for this.delay(9), DELAY(9), or kpause(9). Beware that kpause will probably be on the order of milliseconds instead of microseconds even if you request a microsecond-scale number.