/
COIfReset
COIfReset
Description
This function resets the CAN interface and flushes all already buffered CAN frames.
Prototype
void COIfReset(CO_IF *cif);
Parameter | Description |
---|---|
cif | pointer to the interface structure |
Returned Value
none
Example
The following example shows how to reset the interface of the CANopen node AppNode:
: COIfReset (&(AppNode.If)); :
Note: This function resets 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.
, multiple selections available,
Related content
CONodeStop
CONodeStop
More like this
CONmtReset
CONmtReset
More like this
COIfClose
COIfClose
More like this
COIfSend
COIfSend
More like this
Node Reset
Node Reset
More like this
CanBusIoCtl
CanBusIoCtl
More like this