drv_can.h 477 B

123456789101112131415161718192021222324252627282930313233
  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 BSP_USING_CAN
  17. #ifdef __cplusplus
  18. extern "C"
  19. {
  20. #endif
  21. int rt_hw_can_init(void);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif
  26. #endif /* __DRV_CAN_H__ */