can.h 193 B

123456789101112
  1. #ifndef __CAN_H
  2. #define __CAN_H
  3. #include "queue.h"
  4. void can_init(void);
  5. u8 can_send_msg(u8 *msg, u8 len, u32 can_id);
  6. u8 can_receive_msg(u8 *buf);
  7. #define CAN_BUF1_BLOCK_LEN 100
  8. #endif