drv_can.h 495 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Email: opensource_embedded@phytium.com.cn
  7. *
  8. * Change Logs:
  9. * Date Author Notes
  10. * 2023-03-20 zhangyan first version
  11. *
  12. */
  13. #ifndef __DRV_CAN_H__
  14. #define __DRV_CAN_H__
  15. #include <rtdevice.h>
  16. #ifdef RT_USING_CAN
  17. #include "fcan.h"
  18. #ifdef __cplusplus
  19. extern "C"
  20. {
  21. #endif
  22. int rt_hw_can_init(void);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif
  27. #endif /* __DRV_CAN_H__ */