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 2 Next »

Description

This function allows to control special features of a CAN message.

Prototype

CPU_INT16S CanMsgIoCtl(CPU_INT16S msgId,
CPU_INT16U func,
void *argp);

Parameter

Meaning

msgId

Device id, returned by CanMsgOpen()

func

Function Code

argp

Pointer to argument, specific to the function code

Additional Information

Function Code

Meaning

CANMSG_IS_CHANGED

Checks all linked signals of the message for changed status. If a least on signal indicates changed, set the flag to TRUE of the given argument pointer (CPU_BOOLEAN *)

Return Value

One of the following error codes is returned: CAN_ERR_NONE, CAN_ERR_IOCTRLFUNC, CAN_ERR_MSGID, CAN_ERR_SIGID or CAN_ERR_NULLPTR.

  • No labels