rt-thread-official/bsp/n32g452xx/Libraries/rt_drivers/drv_can.h

32 lines
506 B
C
Raw Permalink Normal View History

2022-01-10 23:27:51 +08:00
/*
2023-02-11 08:14:33 +08:00
* Copyright (c) 2006-2023, 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 ******************/