CAN_FilterMaskId 位的含义是
Mask
Each bit of the register specifies whether the bit of the associated identifier register must
match with the corresponding bit of the expected identifier or not.
0: Don’t care, the bit is not used for the comparison
1: Must match, the bit of the incoming identifier must have the same level has specified in
the corresponding identifier register of the filter.
我们这里全部设置成1 ,也就是只接受CAN_Filter中设置的节点的数据
|