/
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.
, multiple selections available,
Related content
CanBusWrite
CanBusWrite
More like this
CanSigWrite
CanSigWrite
More like this
CanMsgInit
CanMsgInit
More like this
CanMsgRead
CanMsgRead
More like this
CanFrmSet
CanFrmSet
More like this
CanMsgIoCtl
CanMsgIoCtl
More like this