Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This function will initialize the CAN message data structure in the following way: all data structures will be linked together and the id will be set to the corresponding index in the data list array.

Prototype

CPU_INT16S CanMsgInit(CPU_INT32U  arg);

Parameter

Meaning

arg

Not used

Additional Information

  • This function has the standard device driver interface, decribed in the porting chapter of the user manual. This allows the CAN message handling via the standard device driver interface.
  • This call is mandatory.

Return Value

The error code CAN_ERR_NONE is returned.