CanSigInit

Description

This function will initialize the CAN signal 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 CanSigInit(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 signal handling via the standard device driver interface.
  • This call is mandantory for dynamic signal configuration. It is omitted when the CAN signal data structure ist defined static, e.g. CANSIG_STATIC_CONFIG is set to 1.

Return Value

The error code CAN_ERR_NONE is returned.