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

42 lines
513 B
C
Raw Normal View History

/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2017-09-06 <EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD> first version
*/
#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