USB-CANmodul
60
SYS TEC electronic GmbH 2001 L-487e_6
3.2.5
CAN Messages Filter Function
It is possible to filter the received CAN messages. The SJA1000
CAN controller automatically filters messages in PeliCAN mode
(Single-Filter-Mode).
The configurations of the filter are transferred to the function
UcanInitCan () as parameter dwAMR_p and dwACR_p. It is also
possible to change these values later after calling the function
UcanInitCan () with the function UcanSetAcceptance ().
The following mechanism is used for filtration:
AMR Bit ACR Bit Bit of the CAN ID
000
011
10x
11x
0 The corresponding bit of the CAN identifier has to be 0.
1 The corresponding bit of the CAN identifier has to be 1.
x The corresponding bit of the CAN identifier can be either 0 or 1.