Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

resetCan

Valid for: CANoe DE • CANoe:lite DE

Function Syntax

void resetCan();

Description

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. Note
With this function you can reset CAN1 and CAN2. If only one specific CAN channel is used, resetCan stops with an error and the CAN channels keep offline. In this case the ResetCanEx function has to be used. The function resetCanEx can be used for all channels.

Parameters

Return Values

Example

on key 'r' { // Controller is reset after BUSOFF
    resetCan();
}
setOcrsetBtr