Searched refs:CHARS_TO_SHORT (Results 1 - 1 of 1) sorted by relevance

/hardware/invensense/60xx/mlsdk/mlutils/
H A Dmputest.c143 #define CHARS_TO_SHORT(d) ((((short)(d)[0])<<8)+(d)[1]) macro
420 packet_count = CHARS_TO_SHORT(dataout) / 6;
431 x[total_count + i] = CHARS_TO_SHORT(&dataout[0]);
432 y[total_count + i] = CHARS_TO_SHORT(&dataout[2]);
433 z[total_count + i] = CHARS_TO_SHORT(&dataout[4]);
461 temperature += (short)CHARS_TO_SHORT(dataout);
689 packet_count = CHARS_TO_SHORT(dataout) / 6;
703 x[total_count + i] = CHARS_TO_SHORT(&dataout[0]);
704 y[total_count + i] = CHARS_TO_SHORT(&dataout[2]);
705 z[total_count + i] = CHARS_TO_SHORT(
[all...]

Completed in 24 milliseconds