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

Table of Contents

Advertisement

3.1.3 SetCANBaud

Description:
This function is used to change the CAN baud after calling XC100init
function.
Syntax:
int SetCANBaud(unsigned long CANBaud, char BT0, char BT1)
Parameter:
 CANBaud, BT0, BT1: Please refer to the parameters description in
the XC100Init function in section 3.1.2.
Return:
CAN_NoError: OK.
CAN_BaudNotSupport: This CAN baud rate is not supported.
CAN_ResetError: CAN controller can't enter the reset mode. So, all
Relative function:
3.1.2 XC100Init / XC100Init_Listen
I-7188XBD-CAN/μPAC-7186EXD-CAN user manual (ver.1.0.3, May/09/2014)
parameters can't be set normally.
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7188xbd-can

Table of Contents