小弟是一名新手,对CAN里的通信的ID和屏蔽码还有验收码搞不懂,求大大们指导!
发送程序中的stdid是不是只要和接收程序中过滤器的id一样就行了,还是说过滤器的id是经过一定的协议转换以后得到的??
CAN_FilterInitStructure.CAN_FilterIdHigh = 0x0000;
CAN_FilterInitStructure.CAN_FilterIdLow = 0x01e5;
CAN_FilterInitStructure.CAN_FilterMaskIdHigh = 0xffff;
CAN_FilterInitStructure.CAN_FilterMaskIdLow = 0xffff; |