打印
[STM32F1]

CAN ID过滤器问题

[复制链接]
1122|3
手机看帖
扫描二维码
随时随地手机跟帖
楼主
airwill| | 2015-2-11 21:50 | 显示全部楼层 回帖奖励 |倒序浏览
看看我的代码:
        CAN_FilterInitStructure.CAN_FilterMode = CAN_FilterMode_IdList;
        CAN_FilterInitStructure.CAN_FilterScale = CAN_FilterScale_32bit;
        CAN_FilterInitStructure.CAN_FilterIdHigh = MOTOR_RETID/8192;
        CAN_FilterInitStructure.CAN_FilterIdLow  = MOTOR_RETID%8192*8+CAN_ID_EXT;

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则