rtt-f030/bsp/ls1cdev/libraries/ls1c_delay.h

35 lines
327 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.

// 软件延时头文件
#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