/
COIfClose

COIfClose

Description

This function closes the CAN interface.

Prototype

void COIfClose(CO_IF *cif);

ParameterDescription
cifpointer to the interface structure

Returned Value

none

Example

The following example shows how to close the interface of the CANopen node AppNode:


    :
    COIfClose (&(AppNode.If));
    :


Note: This function closes the interface ONLY. Be careful in calling this function on an active CANopen node on this interface. This can result in unpredictable behavior of the complete system.

Related content