OpenOCD
delay.h File Reference
Include dependency graph for delay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NOP   { __asm nop __endasm; }
 

Functions

void delay_1ms (void)
 
void delay_5us (void)
 
void delay_ms (uint16_t delay)
 
void delay_us (uint16_t delay)
 

Macro Definition Documentation

◆ NOP

#define NOP   { __asm nop __endasm; }

Definition at line 13 of file delay.h.

Function Documentation

◆ delay_1ms()

void delay_1ms ( void  )

Definition at line 15 of file delay.c.

Referenced by delay_ms().

◆ delay_5us()

void delay_5us ( void  )

Definition at line 10 of file delay.c.

References NOP.

Referenced by delay_us().

◆ delay_ms()

void delay_ms ( uint16_t  delay)

Definition at line 32 of file delay.c.

References delay_1ms().

Referenced by execute_command(), and usb_init().

◆ delay_us()

void delay_us ( uint16_t  delay)

Definition at line 23 of file delay.c.

References delay_5us().

Referenced by execute_command(), and stlink_cmd_allow_retry().