32 lines
450 B
C
32 lines
450 B
C
|
/*
|
||
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Email: opensource_embedded@phytium.com.cn
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2023-10-18 zhangyan first version
|
||
|
*
|
||
|
*/
|
||
|
#ifndef __DRV_I2C_H__
|
||
|
#define __DRV_I2C_H__
|
||
|
|
||
|
#include <rtdevice.h>
|
||
|
|
||
|
#ifdef BSP_USING_I2C
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
#endif /* __DRV_CAN_H__ */
|