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.

[参考译文] TMS320F2812:CAN 本地接受屏蔽

Guru**** 2538950 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1113379/tms320f2812-can-local-acceptance-mask

器件型号:TMS320F2812

我想澄清一下 spru074f 中描述的本地 CAN 接受屏蔽:

"您可以在本地屏蔽传入消息的任何标识符位。 1值表示"无关"或接受该位位置的0或1。 0值意味着传入的位值必须与消息标识符中的相应位完全匹配。"

例如、如果我要设置一个邮箱#1来接收 ID 为0x00000101、 0x00000102和 0x00000103的消息、并设置另一个邮箱#2来接收  ID 为0x00000201、 0x00000202和 0x00000203的消息、 那么标识符和掩码是否等效?

邮箱#1: 标识符= 0x00000100、掩码= 0x00000011

邮箱#2:标识符= 0x00000200、掩码= 0x00000011

谢谢、