Setcanmask - ICP DAS USA mPAC-7186EXD-CAN User Manual

Table of Contents

Advertisement

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
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
I-7188XBD-CAN/μPAC-7186EXD-CAN user manual (ver.1.0.3, May/09/2014)
XC100Init function in section 3.1.2.
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7188xbd-can

Table of Contents