31 lines
468 B
C
31 lines
468 B
C
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2021-08-20 breo.com first version
|
|
*/
|
|
|
|
#ifndef __DRV_COMMON_H__
|
|
#define __DRV_COMMON_H__
|
|
|
|
#include <rtthread.h>
|
|
#include <rthw.h>
|
|
#ifdef RT_USING_DEVICE
|
|
#include <rtdevice.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void rt_hw_us_delay(rt_uint32_t us);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|