summaryrefslogtreecommitdiff
path: root/doc/explan_bits.h.xml
blob: 6a26c2f02a532ca7b1175617cec8e0f41cd1d097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<sect1 id="bits.h"><title><filename>bits.h</filename></title>
<informaltable frame='all' pgwide='1'>
<tgroup cols='1'>
<colspec colname='c1'></colspec>
<colspec colname='c2'></colspec>
<spanspec spanname='s1' namest='c1' nameend='c2'></spanspec>

<tfoot>
<row>
  <entry spanname='s1' align='left'>Notes based on <function>$Id: bits.h 4030 2006-11-30 07:29:25Z esr $</function></entry>
</row>
</tfoot>

<tbody>
<row>
  <entry><para>This file only contains macros that convert data variables from the native format of the device output (MSB-first or LSB-first) into a standard form for <function>gpsd</function> use. This makes data parsing consistent regardless of the underlying format. If the device driver file makes no deliberate selection, the default is to assume the device emits data in big-endian (network byte) order.</para></entry>
</row>
</tbody>

</tgroup>
</informaltable>
</sect1>