![background image](http://html1.mh-extra.com/html/icp-das-usa/mpac-7186exd-can/mpac-7186exd-can_user-manual_3728838026.webp)
I-7188XBD-CAN/μPAC-7186EXD-CAN user manual (ver.1.0.3, May/09/2014)
26
3.1.4 SetCANMask
Description:
This function is used to change the CAN message filter after using
XC100Init function.
Syntax:
int SetCANMask(unsigned long AccCode, unsigned long AccMask)
Parameter:
AccCode, AccMask: Please refer to the parameters description in the
XC100Init function in section 3.1.2.
Return:
CAN_NoError: OK
CAN_ResetError: Fail to reset the CAN controller.
CAN_SetACRError: Fail to set the AccCode register
CAN_SetAMRError: Fail to set the AccCode register
Relative function:
3.1.2 XC100Init / XC100Init_Listen