
301
Chapter 16
CAN Controller
User’s Manual U16504EE1V1UD00
Priority of receive buffers during compare
It is possible that more than one receive buffer is configured to receive a particular message. For this
case an arbitrary rule for the storage of the message into one of several matching receive buffers
becomes effective. The priority of a receive buffers depends on its type defined by the setup of the
mask register in first place and its number in second place.
The rules for priority are:
All non-masked receive buffers have a higher priority than the masked receive buffer.
Lower numbered receive buffers have higher priority.
Examples
:
1.
All RX buffers are enabled to receive the same standard identifier 0x7FFH. Result: the message
with identifier 0x7FFH is stored in RX0.
In difference to the previous set up, the mask option is set for RX2. Again the message 0x7FFH is
stored in buffer in RX0.
If additionally RX0 is configured as a mask, the message will be stored in RX4.
2.
3.