4 * Structure for the KSI/Odetics TPRO-S data returned in reponse to a
5 * read() call. Note that these are driver-specific and not dependent on
6 * 32/64-bit architecture.
9 u_short day100
; /* days * 100 */
10 u_short day10
; /* days * 10 */
11 u_short day1
; /* days * 1 */
12 u_short hour10
; /* hours * 10 */
13 u_short hour1
; /* hours * 1 */
14 u_short min10
; /* minutes * 10 */
15 u_short min1
; /* minutes * 1 */
16 u_short sec10
; /* seconds * 10 */
17 u_short sec1
; /* seconds * 1*/
18 u_short ms100
; /* milliseconds * 100 */
19 u_short ms10
; /* milliseconds * 10 */
20 u_short ms1
; /* milliseconds * 1 */
21 u_short usec100
; /* microseconds * 100 */
22 u_short usec10
; /* microseconds * 10 */
23 u_short usec1
; /* microseconds * 1 */
24 long tv_sec
; /* seconds */
25 long tv_usec
; /* microseconds */
26 u_short status
; /* status register */
30 * Status register bits
32 #define TIMEAVAIL 0x0001 /* time available */
33 #define NOSIGNAL 0x0002 /* insufficient IRIG-B signal */
34 #define NOSYNC 0x0004 /* local oscillator not synchronized */