Specifications

4 CAN I/O Support
4-42
Let us analyze the model.
The first input is the Function class of type uint8, which has an example value
of 112. This value has to become byte 0 (bits 0 to 7) of the data frame. Therefore
the first bit (element 1 of double array [0:7]) has to get bit 0 of the data frame,
the second bit 1 and so on. It is easiest to define this mapping by the MATLAB
colon operator:.
The second input is the Function subclass of type uint8, which has an example
value of 23. This value has to become byte 1 (bits 8:15) of the data frame but in
reversed bit order. Therefore the first bit (element 1 of double array [15:-1:8])