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