Writing a CAN Message
When a CAN message was received via the CAN bus, the content can be distributed to the linked CAN signals.
Figure - Writing a CAN message
- The function
CanMsgWrite()
is called with the unique CAN message identifier and a CAN frame. - The function checks, that the given CAN message is in use.
- The function uses the
CanFrmGet()
andCanSigWrite()
to get the mapped data out of the given CAN frame and write it to the mapped CAN signals.