Lines Matching defs:minute
85 #define WWV_MIN (WWV_SEC * 60) /* minute epoch */
94 #define SYNCYC 800 /* minute filter cycles */
95 #define SYNSIZ (SYNCYC * MS) /* minute filter size */
121 * acquired and cleared by signal loss. MSYNC is set when the minute
129 * LEPSEC is set during the last minute of the leap day. At the end of
130 * this minute the driver inserts second 60 in the seconds state machine
131 * and the minute sync slips a second.
133 #define MSYNC 0x0001 /* minute epoch sync */
135 #define DSYNC 0x0004 /* minute units sync */
141 #define LEPSEC 0x1000 /* leap minute */
160 #define NINERR 0x4 /* less than nine digits in minute */
181 #define MTHR 13. /* minute sync gate (percent) */
182 #define TTHR 50. /* minute sync threshold (percent) */
183 #define AWND 20 /* minute sync jitter threshold (ms) */
184 #define ATHR 2500. /* QRZ minute sync threshold */
185 #define ASNR 20. /* QRZ minute sync SNR threshold (dB) */
186 #define QTHR 2500. /* QSY minute sync threshold */
187 #define QSNR 20. /* QSY minute sync SNR threshold (dB) */
292 #define COEF1 2 /* BCD bit for minute unit */
303 #define SYNC2 13 /* latch minute sync pulse */
309 #define MN 0 /* minute digits (2) */
315 {SYNC2, 0}, /* 0 latch minute sync pulse */
325 {COEF1, 0}, /* 10 1 minute units */
330 {COEF, 0}, /* 15 10 minute tens */
405 * Digits 0-6 (minute tens)
475 * The station structure (sp) is used to acquire the minute pulse from
477 * used for the second and minute sync pulses, 1000 Hz for WWV and 1200
486 long mepoch; /* minute synch epoch */
545 long mphase; /* minute sample counter */
896 * quadrature phase. The routine also determines the minute synch epoch,
906 * the 480,000 logical clock samples spanning exactly one minute and
908 * the minute starting at the 800-ms minute sync pulse found during the
915 * matched filters for the data signal (170 ms at 100 Hz), WWV minute
916 * sync signal (800 ms at 1000 Hz) and WWVH minute sync signal (800 ms
1083 * minute sync signal and detect which one (or both) the WWV or
1090 * minute counter (mphase) counts the samples in the minute,
1156 * The following section is called once per minute. It does
1164 * If minute sync has not been acquired before
1174 * If the leap bit is set, set the minute epoch
1188 * counter matches the minute epoch within the second, the
1190 * the remaining seconds until the next minute epoch, while the
1240 * not in minute sync, fiddle the codec gain. Note the SNR is
1275 * wwv_qrz - identify and acquire WWV/WWVH minute sync pulse
1278 * minute sync and to mitigate among the ten frequency and station
1279 * combinations. During minute sync acquisition the process probes each
1280 * frequency and station in turn for the minute pulse, which
1281 * involves searching through the entire 480,000-sample minute. The
1310 * Find the sample with peak amplitude, which defines the minute
1324 * At the end of the minute, determine the epoch of the minute
1459 * (10) s, the minute is synchronized and the interval since the
1600 * minute sync pulse detected in the wwv_rf() routine and the second
1627 * Find the maximum minute sync pulse energy for both the
1738 * Normally, the minute has 60 seconds numbered 0-59. If the leap
1739 * warning bit is set, the last minute (1439) of 30 June (day 181 or 182
1742 * extending the minute interval by one second and teaching the state
1784 * The minute state machine. Fly off to a particular section as
1799 * identifier) and second 1, but not in second 0. The minute
1802 * WWV/H frequencies. At the end of second 0 measure the minute
1807 * At the end of second 0 save the minute sync amplitude latched
1817 * At the end of second 1 use the minute sync amplitude latched
1818 * at 800 ms as the noise to calculate the SNR. If the minute
1879 * not and the minute digit has been found, restart if
2003 * LEPSEC is set on the last minute of 30 June or 31 December,
2005 * the timescale and the minute sync repeats the second. Once
2043 * loss, the minute sync epoch will be in the same second. This requires
2071 pp->minute = up->decvec[MN].digit + up->decvec[MN +
2081 if (!clocktime(pp->day, pp->hour, pp->minute,
2137 * minute units digit has been resolved, don't to anything else.
2208 * wwv_tsec - transmitter minute processing
2210 * This routine is called at the end of the transmitter minute. It
2221 int minute, day, isleap;
2228 * Advance minute unit of the day. Don't propagate carries until
2229 * the unit minute digit has been found.
2231 temp = carry(&up->decvec[MN]); /* minute units */
2247 * Decode the current minute and day. Set leap day if the
2249 * minute if the last minute on leap day, but only if the clock
2252 minute = up->decvec[MN].digit + up->decvec[MN + 1].digit *
2259 * Set the leap bit on the last minute of the leap day.
2264 365 : 366)) && minute == 1439)
2269 * Roll the day if this the first minute and propagate carries
2272 if (minute != 1440)
2275 // minute = 0;
2276 while (carry(&up->decvec[HR]) != 0); /* advance to minute 0 */
2372 * of the minute, during seconds 59, 0 and 1 the radio is tuned to a
2373 * probe frequency in order to search for minute sync pulse and data
2376 * The search for WWV and WWVH operates simultaneously, with WWV minute
2378 * rotates each minute over 2.5, 5, 10, 15 and 20 MHz in order and yes,
2383 * the reachability register and minute pulse amplitude. Normally, the
2385 * of ties, the award goes to the channel with the highest minute sync
2478 * 1 After finding the minute pulse (MSYNC lit), going 15 minutes
2539 * the minute sync pulse amplitude. The combined value is scaled 0-100.
2602 * mm minute of hour
2603 * ss second of minute)
2611 * errs bit errors in last minute
2623 int year, day, hour, minute, second, dut;
2637 minute = up->decvec[MN].digit + up->decvec[MN + 1].digit * 10;
2647 year, day, hour, minute, second, leapchar, dst, dut);