Lines Matching +full:system +full:- +full:clock +full:- +full:direction +full:- +full:out
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
13 …mpt to sketch out what you need to do in order to add another clock to the parse driver: Currently…
15 <!-- #BeginDate format:En2m -->13-Oct-2010 00:33<!-- #EndDate -->
19 …<li>Does the system you want the clock connect to have the include files termio.h or termios.h ? (…
28 struct clocktime /* clock time broken up from time code */
39 long flags; /* current clock status */
45 PARSEB_POWERUP no synchronisation - clock confused (must set then)
52 … PARSEB_LEAPADD LEAP addition warning (prior to leap happening - must set when imminent)
54 direction (as this is currently the default).
55 … PARSEB_LEAPDEL LEAP deletion warning (prior to leap happening - must set when imminent)
59 second - informational only)
61 <p>These are feature flags denoting items that are supported by the clock:</p>
63 PARSEB_S_LEAP supports LEAP - might set PARSEB_LEAP
64 PARSEB_S_ANTENNA supports ANTENNA - might set PARSEB_ALTERNATE
72 lots of fields for you to fill out (see below)
89 … the interface to the rest of the parse driver - it holds all information necessary for finding th…
94 /* input routine - your routine - cvt_<yourclock> */
96 /* conversion routine - your routine - cvt_<yourclock> */
97 /* routine for handling RS232 sync events (time stamps) - usually sync_simple */
99 /* PPS input routine - usually pps_one */
101 /* local parameters - any parameters/data/configuration info your conversion
104 /* clock format name - Name of the time code */
106 /* maximum length of data packet for your clock format */
111 … code conversion. See the examples and pick a clock closest to yours and tweak the code to match y…
116 …<li>Find out the exact tty settings for your clock (baud rate, parity, stop bits, character size, …
117 …<li>in ntpd/refclock_parse.c fill out a new the struct clockinfo element (that allocates a new &qu…
127 The routine to call when the clock needs data sent to it in order to
128 get a time code from the clock (e.g. Trimble clock)
133 void (*cl_event)(); /* special event handling (e.g. reset clock) */
134 What to do, when an event happens - used to re-initialize clocks on timeout.
145 u_long cl_basedelay; /* current offset - unsigned l_fp
150 u_long cl_ppsdelay; /* current PPS offset - unsigned l_fp fractional
155 Refclock id - (max 4 chars)
164 u_char cl_type; /* clock type (ntp control) */
165 Type if clock as in clock status word (ntp control messages) - usually 0
169 seconds a clock can be trusted after losing synchronisation.
180 median filter parameters - smoothing and rejection of bad samples
189 …, i know. But I hope it helps a little bit. The best way is to look which clock comes closest to y…
190 …s that need a command sent to them in order to reply with a time code (like the Trimble clock).</p>
192 …t description on how your clock works. (initialisation, TTY modes, strings to be sent to it, respo…