/
CanSigWrite
CanSigWrite
Description
Updates a CAN signal after checking, that this signal is in use.
Prototype
CPU_INT16S CanSigWrite(CPU_INT16S sigId, void *buffer, CPU_INT16U size);
Parameter | Meaning |
---|---|
| Unique signal identifier |
| Pointer to value |
| Storage size of CAN signal. |
Additional Information
The storage size of the signal is given by parameter CANSIG_MAX_WIDTH
.
Return Value
One of the error codes CAN_ERR_CANSIZE
, CAN_ERR_SIGID
or CAN_ERR_NULLPTR
if an error is detected. Otherwise the storage size of CAN signal is returned.
, multiple selections available,
Related content
CanSigDelete
CanSigDelete
More like this
CanSigInit
CanSigInit
More like this
CanSigRead
CanSigRead
More like this
CanSigCreate
CanSigCreate
More like this
CanBusWrite
CanBusWrite
More like this
CanMsgWrite
CanMsgWrite
More like this