/
CanMsgWrite
CanMsgWrite
Description
This function splits a CAN frame into the linked signals.
Prototype
CPU_INT16S CanMsgWrite(CPU_INT16S paraId, void *buffer, CPU_INT16U size);
Parameter | Meaning |
---|---|
| Unique message identifier |
| Pointer to CAN frame of type |
| Size of buffer in bytes (must be equal to |
Return Value
One of the error codes CAN_ERR_MSGID
, CAN_ERR_NULLPTR
or CAN_ERR_FRMSIZE
if an error is detected. Otherwise the number of bytes of a CAN frame is returned.
Related content
CanMsgRead
CanMsgRead
More like this
CanSigWrite
CanSigWrite
More like this
CanBusWrite
CanBusWrite
More like this
Writing a CAN Message
Writing a CAN Message
More like this
CanSigRead
CanSigRead
More like this
CanMsgIoCtl
CanMsgIoCtl
More like this