mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 11:43:34 +08:00
add n32g45x can 驱动
This commit is contained in:
parent
982ad7bcbc
commit
b4b9394051
1015
bsp/n32g452xx/Libraries/rt_drivers/drv_can.c
Normal file
1015
bsp/n32g452xx/Libraries/rt_drivers/drv_can.c
Normal file
File diff suppressed because it is too large
Load Diff
30
bsp/n32g452xx/Libraries/rt_drivers/drv_can.h
Normal file
30
bsp/n32g452xx/Libraries/rt_drivers/drv_can.h
Normal file
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* 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
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <board.h>
|
||||
#include <rtdevice.h>
|
||||
#include <rtthread.h>
|
||||
|
||||
int rt_hw_can_init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*__DRV_CAN_H__ */
|
||||
|
||||
/************************** end of file ******************/
|
Loading…
x
Reference in New Issue
Block a user