Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

CanMsgCreate()

Description

This function checks, if a free CAN message is available. If yes, this message is set in front of the used list and initialized with the configured message data.

Prototype

CPU_INT16S CanMsgCreate(CANMSG_PARA *cfg);

Parameter

Meaning

cfg

Configuration of CAN message

Return Value

One of the following error codes is returned CAN_ERR_MSGCREATE, CAN_ERR_NULLPTR or CAN_ERR_MSGUNUSED, if an error is detected. Otherwise the message identifier is returned.

  • No labels