39 lines
571 B
C
39 lines
571 B
C
/*
|
|
* Copyright (C) 2022, Xiaohua Semiconductor Co., Ltd.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2022-04-28 CDT first version
|
|
*/
|
|
|
|
#ifndef __DRV_CAN_H__
|
|
#define __DRV_CAN_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <board.h>
|
|
#include <rtdevice.h>
|
|
#include <rtthread.h>
|
|
|
|
|
|
|
|
/* stm32 can device */
|
|
struct hc32_can_init_type
|
|
{
|
|
char *name;
|
|
};
|
|
|
|
int rt_hw_can_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /*__DRV_CAN_H__ */
|
|
|
|
/************************** end of file ******************/
|