COIfReset
Description
This function resets the CAN interface and flushes all already buffered CAN frames.
...
The following example shows how to reset the interface of the CANopen node AppNode:
Code Block | ||
---|---|---|
| ||
: 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.End of topic