rt-thread/bsp/loongson/ls1cdev/libraries/ls1c_delay.h

42 lines
513 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2017-09-06 勤为本 first version
*/
#ifndef __OPENLOONGSON_DELAY_H
#define __OPENLOONGSON_DELAY_H
/*
* 延时指定时间单位ms
* @j 延时时间单位ms
*/
void delay_ms(int j);
/*
* 延时指定时间单位us
* @n 延时时间单位us
*/
void delay_us(int n);
/*
* 延时指定时间单位s
* @i 延时时间单位s
*/
void delay_s(int i);
#endif