mbgtools-lx  4.2.8
PCPS_IRIG_TIME Struct Reference

Raw IRIG time. More...

#include <pcpsdefs.h>

Data Fields

PCPS_TIME_STATUS_X status
 status bits, see PCPS_TIME_STATUS_FLAGS More...
 
int16_t offs_utc
 [minutes], 0 unless supported by the code format, see MSK_ICODE_RX_HAS_TZI More...
 
uint16_t yday
 day of year, 1..365/366 More...
 
uint16_t frac
 fractions of seconds, 0.1 ms units More...
 
uint8_t sec
 seconds, 0..59, may be 60 for leap second More...
 
uint8_t min
 minutes, 0..59 More...
 
uint8_t hour
 hours, 0..23 More...
 
uint8_t year
 
PCPS_SIG_VAL signal
 signal strength, see PCPS_SIG_VAL_DEFS More...
 
uint8_t reserved
 currently not used, always 0 More...
 

Detailed Description

Raw IRIG time.

Used to read the raw IRIG time from an IRIG receiver card, if the card supports this. See the PCPS_GIVE_IRIG_TIME command.

The granularity of the value in the PCPS_IRIG_TIME::frac field depends on the update interval at which the structure is updated by the firmeware. I.e., if the raw IRIG time is updated only once per second, the PCPS_IRIG_TIME::frac value can always be 0.

See also
IRIG time codes
ICODE_RX_CODES

Definition at line 1207 of file pcpsdefs.h.

Field Documentation

◆ frac

uint16_t PCPS_IRIG_TIME::frac

fractions of seconds, 0.1 ms units

Definition at line 1212 of file pcpsdefs.h.

◆ hour

uint8_t PCPS_IRIG_TIME::hour

hours, 0..23

Definition at line 1215 of file pcpsdefs.h.

Referenced by show_time_and_status().

◆ min

uint8_t PCPS_IRIG_TIME::min

minutes, 0..59

Definition at line 1214 of file pcpsdefs.h.

Referenced by show_time_and_status().

◆ offs_utc

int16_t PCPS_IRIG_TIME::offs_utc

[minutes], 0 unless supported by the code format, see MSK_ICODE_RX_HAS_TZI

Definition at line 1210 of file pcpsdefs.h.

◆ reserved

uint8_t PCPS_IRIG_TIME::reserved

currently not used, always 0

Definition at line 1219 of file pcpsdefs.h.

◆ sec

uint8_t PCPS_IRIG_TIME::sec

seconds, 0..59, may be 60 for leap second

Definition at line 1213 of file pcpsdefs.h.

Referenced by show_time_and_status().

◆ signal

PCPS_SIG_VAL PCPS_IRIG_TIME::signal

signal strength, see PCPS_SIG_VAL_DEFS

Definition at line 1218 of file pcpsdefs.h.

◆ status

PCPS_TIME_STATUS_X PCPS_IRIG_TIME::status

status bits, see PCPS_TIME_STATUS_FLAGS

Definition at line 1209 of file pcpsdefs.h.

◆ yday

uint16_t PCPS_IRIG_TIME::yday

day of year, 1..365/366

Definition at line 1211 of file pcpsdefs.h.

Referenced by show_time_and_status().

◆ year

uint8_t PCPS_IRIG_TIME::year

2 digit year number, or IRIG_TIME_UNKNOWN_YEAR if year not supported by the time code, see MSK_ICODE_RX_HAS_ANY_SHORT_YEAR

Definition at line 1216 of file pcpsdefs.h.


The documentation for this struct was generated from the following file: