/
Creating a CAN Message
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.
Figure - Creating a CAN message
- The function
CanMsgCreate()
is called with an application specific CAN message configuration parameter structure (see documentation of structureCANMSG_PARA
). - After checking, that a free CAN message object is available, the object is moved from the free list to the used list.
- 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.
Related content
CanMsgCreate
CanMsgCreate
More like this
Writing a CAN Message
Writing a CAN Message
More like this
Creating a CAN Signal
Creating a CAN Signal
More like this
CanMsgInit
CanMsgInit
More like this
Initializing CAN Signals and Messages
Initializing CAN Signals and Messages
More like this
Reading a CAN Message
Reading a CAN Message
More like this