Creating a CAN Signal
Before the application can use the CAN signal, the CAN signal must be configured with the needed data type parameters.
Figure - Creating a CAN signal
- The function
CanSigCreate()
is called with an application specific CAN signal configuration parameter structure (see documentation of structureCANSIG_PARA
). - After checking, that a free CAN signal object is available, the object is moved from the free list to the used list.
- The given CAN signal parameter structure is checked to contain plausible data. If this check was successful, the structure is linked to the CAN signal object.
- This function cannot be used in case
CANSIG_STATIC_CONFIG
is enabled.