CAPL Script

Reset Can

Syntax

void resetCan();

Function

Resets the CAN controller. Can be used to reset the CAN controller after a BUSOFF or to activate configuration changes. Since execution of the function takes some time and the CAN controller is disconnected from the bus briefly, messages can be lost when this is performed.

Parameters

Return Values

on key 'r' { // Controller is reset after BUSOFFresetCan();}

setOcr | setBtr