35 lines
327 B
C
35 lines
327 B
C
|
// <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
|
|||
|
|