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 4 Next »

Creating a CAN Message

Before the application can use a CAN message, the CAN message must be configured with the parameters like CAN Identifier (extended or standard), CAN DLC and the collection of the linked CAN signals.

  1. The function CanMsgCreate() is called with an application specific CAN message configuration parameter structure (see documentation of structure CANMSG_PARA).
  2. After checking, that a free CAN message object is available, the object is moved from the free list to the used list.
  3. The given CAN message parameter structure is checked to contain plausible data and all linked CAN signals are in use. If this check was successful, the structure is linked to the CAN message object.
  • No labels