Set Ocr
Syntax
setOcr(long channel, byte ocr);
Function
Sets the Output Control Register. The values do not become active until the next call of the functionresetCan(). It should be noted that these values depend on the CAN platform used.
Parameters
CAN channel
OCR
Value of the Output Control Register
Return Values
1: success
0: error
...setOcr(0, 0x02); // setresetCan(); // activate...
resetCan | setBtr