OpenOCD
delay.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2011 by Martin Schmoelzer *
5  * <martin.schmoelzer@student.tuwien.ac.at> *
6  ***************************************************************************/
7 
8 #ifndef __DELAY_H
9 #define __DELAY_H
10 
11 #include <stdint.h>
12 
13 #define NOP { __asm nop __endasm; }
14 
15 void delay_5us(void);
16 void delay_1ms(void);
17 
18 void delay_us(uint16_t delay);
19 void delay_ms(uint16_t delay);
20 
21 #endif
void delay_5us(void)
Definition: delay.c:10
void delay_us(uint16_t delay)
Definition: delay.c:23
void delay_1ms(void)
Definition: delay.c:15
void delay_ms(uint16_t delay)
Definition: delay.c:32