/
CanSigCreate
CanSigCreate
Description
This function checks, if a free CAN signal is available. If so, this signal is set in front of the used list and initialized with the configured signal data.
Prototype
CPU_INT16S CanSigCreate(CANSIG_PARA *cfg);
Parameter | Meaning |
---|---|
| Configuration of CAN signal |
Additional Information
This function is omitted if CANSIG_STATIC_CONFIG
is set to 1.
Return Value
One of the error codes CAN_ERR_NULLPTR
or CAN_ERR_SIGCREATE
, if an error is detected. Otherwise the signal identifier is returned.
Related content
Creating a CAN Signal
Creating a CAN Signal
More like this
CanSigInit
CanSigInit
More like this
CanSigWrite
CanSigWrite
More like this
CanMsgCreate
CanMsgCreate
More like this
CanSigDelete
CanSigDelete
More like this
CanSigRead
CanSigRead
More like this