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

35 lines
327 B
C
Raw Normal View History

// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱͷ<CAB1>ļ<EFBFBD>
#ifndef __OPENLOONGSON_DELAY_H
#define __OPENLOONGSON_DELAY_H
/*
* <EFBFBD><EFBFBD>ʱָ<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD>λms
* @j <EFBFBD><EFBFBD>ʱʱ<EFBFBD><EFBFBD><EFBFBD>λms
*/
void delay_ms(int j);
/*
* <EFBFBD><EFBFBD>ʱָ<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD>λus
* @n <EFBFBD><EFBFBD>ʱʱ<EFBFBD><EFBFBD><EFBFBD>λus
*/
void delay_us(int n);
/*
* <EFBFBD><EFBFBD>ʱָ<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD>λs
* @i <EFBFBD><EFBFBD>ʱʱ<EFBFBD><EFBFBD><EFBFBD>λs
*/
void delay_s(int i);
#endif