can_demo.h 475 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c)
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Email Notes
  8. * 2019-07-16 Kevin.Liu kevin.liu.mchp@gmail.com First Release
  9. */
  10. #ifndef __APPLICATION_CAN_H_
  11. #define __APPLICATION_CAN_H_
  12. #include <rtthread.h>
  13. /**
  14. * @brief External function definitions
  15. *
  16. */
  17. rt_err_t can_demo_run(void);
  18. rt_err_t can_send_message(struct can_message *msg, rt_uint32_t timeouts);
  19. #endif // __APPLICATION_CAN_H_