#ifndef __CAN_LINK_H__
#define __CAN_LINK_H__
#include "fdcan.h"
#include <stdbool.h> 

//pmu消息id
#define WEIGHT_MSG_ID 0x81321  //称重消息id
//#define HW_PUMP_MSG__ID 0x2010010
#define PUMP_MSG_ID 0x01000   //水泵pwm消息id
#define SPRAY_MSG_ID 0x01001  //喷头pwm消息id

#define FLOW_SPEED_MSG_ID 0x01002  //流量计速度消息id
#define FLOW_COUNT_MSG_ID 0x01003  //流量计计数消息id


void can_recv_HD_ESC_msg(uint8_t *recv_buf, uint32_t len, uint32_t id);
extern uint32_t CanGetHalDataLengthToDec( uint32_t DataLength );
#endif