Deleting a CAN Message
If a CAN message is no more used, the message can be cleared with the corresponding message identifier.
Figure - Deleting a CAN message
- The function
CanMsgDelete()
is called with the unique CAN message identifier. This identifier is returned fromCanMsgCreate()
and shall be used to access CAN message objects. - After checking, that the CAN message object is in use, the message will be cleared.
- The message is moved from the used list to the free list.