This converts a 16-bit-integer (sample_full) into an array (sample_segment) containing two bytes. While doing so, it changes endianess: the int16 is stored differently on PSoC5 (lowest byte first) and PSoC3 (highest byte first), and in the array its always highest byte first.
Well, what I understando you is next:
-ADC converts to a 16-bits samplefull
-then converts sample full into a matrix with two bytes
and this is to send one byte per time
thanks for yout help
I did not search where that come comes from, but yes I guess it does what you think.