CanProtocolFunc.h 798 B

123456789101112131415161718192021222324252627
  1. /*
  2. * @Author : ChenJie
  3. * @Date : 2021-12-20 14:48:17
  4. * @Version : V3.0
  5. * @LastEditors : ChenJie
  6. * @LastEditTime : 2021-12-27 16:11:07
  7. * @Description : 应用层can协议转换
  8. * @FilePath : \VehicleControl\VehicleControl\src\System\Vehicle\Communication\BleCanProtocolFunc.h
  9. */
  10. /*
  11. * CanProtocol.h
  12. *can协议转换
  13. * Created on: 2021年12月20日
  14. * Author: QiXiang_CHENJIE
  15. */
  16. #include "Std_Types.h"
  17. #include "CanVar.h"
  18. #ifndef SYSTEM_VEHICLE_CANPROTOCOL_H_
  19. #define SYSTEM_VEHICLE_CANPROTOCOL_H_
  20. void Can0Encode(UINT32 ID, UINT8 *rawData);
  21. void Can0Decode(UINT32 ID, UINT8 *rawData);
  22. void Can0RxDiagnose(void);
  23. void Can1Encode(UINT32 ID, UINT8 *rawData);
  24. void Can1Decode(UINT32 ID, UINT8 *rawData);
  25. void Can1RxDiagnose(void);
  26. #endif /* SYSTEM_VEHICLE_CANPROTOCOL_H_ */