This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
以下是CAN的接收函数
if(canIsRxMessageArrived(canREG2, 11))
{
canGetData(canREG2, 11, CanMsg.Data.U08); // copy to RAM ID 301
}
if(canIsRxMessageArrived(canREG2, 2))
{
canGetData(canREG2, 2, CanMsg.Data.U08); // copy to RAM ID 300
}
初始化接收的邮箱时只能接收邮箱号小的