Hi Nitin verma,
The APIs use the ID parameter to set up the corresponding message buffers, like below:

so if you set the mask register to check all the bits in the ID field, it would take effect.
and as I said before, there are another two mask register for MB14 and MB15, so it is possible to implement that function, but as the matching process always goes from the lowest number Message Buffer toward the higher ones, you have to set MB1 with ID 0x12 as RX buffer, and MB14/15 set to receive all other remaining ID's except 0x12. so you also have to set MB1's ID as 0x12 and the global mask register should set to check each bit in ID field to match 0x12, and mask register for MB14/15 can be set to ignore any ID.
Hope that helps,
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------