CL2.GetMessageDataPointer (FUN)
This function of the CAA_CanL2.library returns a pointer on the eight data bytes of a message.
Notice
The data is organised in the “Network Byte Order“ of the CANbus. The alignment of data types in the RTS memory may differ from the alignment in the data messages. The “CAA_Memory.lib” contains functions to resolve this difficulty.
hMessage |
CAA.HANDLE |
handle of message |
peError |
POINTER TO CL2.ERROR |
pointer to error code (enumeration type) |
cdData |
POINTER TO CL2I.DATA |
message data |