/
Reading a CAN Message
Reading a CAN Message
When a CAN message shall be transmitted via the CAN bus, the CAN frame can be build with the linked CAN signals.
Figure - Reading a CAN message
- The function
CanMsgRead()
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
CanSigRead()
andCanFrmSet()
to get the data from the mapped CAN signals and set the data within the given CAN frame according to the configured mapping information.
Related content
Writing a CAN Message
Writing a CAN Message
More like this
CanSigRead
CanSigRead
More like this
Creating a CAN Message
Creating a CAN Message
More like this
Enabling the CAN Bus
Enabling the CAN Bus
More like this
CanMsgRead
CanMsgRead
More like this
CanMsgInit
CanMsgInit
More like this