2022-01-10 23:27:51 +08:00
|
|
|
/*
|
2022-01-13 00:03:13 +08:00
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
2022-01-10 23:27:51 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2022-01-09 chenbin the first version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DRV_CAN_H__
|
|
|
|
#define __DRV_CAN_H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2022-01-13 00:03:13 +08:00
|
|
|
extern "C"
|
|
|
|
{
|
2022-01-10 23:27:51 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <board.h>
|
|
|
|
#include <rtdevice.h>
|
|
|
|
#include <rtthread.h>
|
|
|
|
|
2022-01-13 00:03:13 +08:00
|
|
|
int rt_hw_can_init(void);
|
2022-01-10 23:27:51 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /*__DRV_CAN_H__ */
|
|
|
|
|
|
|
|
/************************** end of file ******************/
|