1 /* 2 * Copyright (c) 2006-2018, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2017-09-06 ��Ϊ�� first version 9 */ 10 11 12 #ifndef __OPENLOONGSON_DELAY_H 13 #define __OPENLOONGSON_DELAY_H 14 15 16 17 /* 18 * ��ʱָ��ʱ�䣬��λms 19 * @j ��ʱʱ�䣬��λms 20 */ 21 void delay_ms(int j); 22 23 24 /* 25 * ��ʱָ��ʱ�䣬��λus 26 * @n ��ʱʱ�䣬��λus 27 */ 28 void delay_us(int n); 29 30 31 /* 32 * ��ʱָ��ʱ�䣬��λs 33 * @i ��ʱʱ�䣬��λs 34 */ 35 void delay_s(int i); 36 37 38 39 40 #endif 41 42