CanMsgOpen

Description

Searches the CAN message with the given CAN identifier in the used list and returns the unique message identifier.

Prototype

CPU_INT16S CanMsgOpen(CPU_INT16S  drvId, 
                      CPU_INT32U  devName,
                      CPU_INT16U  mode);

Parameter

Meaning

drvId

Not used

devName

The message identifier

mode

Not used

Return Value

The message identifier for further access or CAN_ERR_NULLMSG if an error occurs.