Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This function checks, if a CAN signal is in use. If yes, the CAN signal will be removed from the used list and put back to the free list.

Prototype

CPU_INT16S CanSigDelete(CPU_INT16S  sigId);

Parameter

Meaning

sigId

Unique signal identifier

Additional Information

This function is omitted if CANSIG_STATIC_CONFIG is set to 1 or CANSIG_USE_DELETE is set to 0.

Return Value

One of the error codes is returned: CAN_ERR_NONE, CAN_ERR_SIGID or CAN_ERR_NULLPTR.