Pni FieldForce Trax Instrukcja Użytkownika Strona 42

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 62
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 41
PNI Sensor Corporation DOC#1016505 r06
TRAX User Manual Page 38
7.2.3 Signed Integer
For signed integers, the most significant bit (msb) represents the sign of the value, where
0=positive and 1=negative. Signed integers are represents in 2’s compliment.
Signed 32-Bit Integer (SInt32)
SInt32-based parameters are signed 32-bit numbers (2’s compliment). Bit 31
represents the sign of the value, where 0=positive and 1=negative.
msb
31 24 23 16 15 8
lsb
7 0
Big Endian
lsb
7 0 15 8 23 16
msb
31 24
Little Endian
Signed 16-Bit Integer (SInt16)
SInt16-based parameters are signed 16-bit numbers (2’s compliment). Bit 15
represents the sign of the value, where 0=positive and 1=negative.
Big Endian
msb
15 8
lsb
7 0
Little Endian
lsb
7 0
msb
15 8
Signed 8-Bit Integer (SInt8)
UInt8-based parameters are unsigned 8-bit numbers. Bit 7 represents the sign of the
value, where 0=positive and 1=negative.
byte
7 0
Przeglądanie stron 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 61 62

Komentarze do niniejszej Instrukcji

Brak uwag