mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-15 02:09:22 +08:00
029e161f59
[BSP][ls1c] add rtc library [BSP][ls1c] add pwm ,touch , rtc driver
42 lines
513 B
C
42 lines
513 B
C
/*
|
|
* 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
|
|
|