/
CanSigRead
CanSigRead
Description
Reads a CAN signal after checking, that this signal is in use.
Prototype
CPU_INT16S CanSigRead(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.
Related content
CanSigWrite
CanSigWrite
More like this
CanSigInit
CanSigInit
More like this
CanMsgRead
CanMsgRead
More like this
CanSigCreate
CanSigCreate
More like this
CanBusRead
CanBusRead
More like this
Reading a CAN Message
Reading a CAN Message
More like this