Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Description

This function resets the CANopen device with the given type.

Prototype

void CONmtReset(CO_NMT *nmt, CO_NMT_RESET type);

ParameterDescription
nmt reference to NMT structure
type the requested NMT reset type

Returned Value

none

Additional Information

The following table shows the possible values of the type CO_NMT.RESET:

ValueDescription
CO_RESET_NODE Reset node (application and communication)
CO_RESET_COM Reset communication

Example

The following example shows how to request a communication reset of the CANopen node AppNode:

  • No labels