1 /* 2 * Copyright (c) 2006-2023, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2021-08-20 breo.com first version 9 */ 10 11 #ifndef __DRV_COMMON_H__ 12 #define __DRV_COMMON_H__ 13 14 #include <rtthread.h> 15 #include <rthw.h> 16 #ifdef RT_USING_DEVICE 17 #include <rtdevice.h> 18 #endif 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 void rt_hw_us_delay(rt_uint32_t us); 25 26 #ifdef __cplusplus 27 } 28 #endif 29 30 #endif 31