nidas  v1.2-1520
Public Attributes | List of all members
pc104sg_status Struct Reference

#include <irigclock.h>

Public Attributes

uint32_t syncToggles
 Counts of the number of times that the IRIG hardware clock has lost or regained sync. More...
 
uint32_t softwareClockResets
 Total counts of the number of times that the sofware clock was reset with a step change. More...
 
uint32_t slews [IRIG_MAX_DT_DIFF-IRIG_MIN_DT_DIFF+1]
 Counts of the number of times that the software clock was slewed, indexed by the number of delta-Ts is was out. More...
 
unsigned char statusOR
 Value of extended status from PC104SG dual port RAM. More...
 

Member Data Documentation

uint32_t pc104sg_status::slews[IRIG_MAX_DT_DIFF-IRIG_MIN_DT_DIFF+1]

Counts of the number of times that the software clock was slewed, indexed by the number of delta-Ts is was out.

Referenced by checkSoftTicker(), and nidas::dynld::raf::IRIGSensor::printStatus().

uint32_t pc104sg_status::softwareClockResets

Total counts of the number of times that the sofware clock was reset with a step change.

Referenced by checkSoftTicker(), oneHzFunction(), pc104sg_open(), nidas::dynld::raf::IRIGSensor::printStatus(), and setSoftTickers().

unsigned char pc104sg_status::statusOR

Value of extended status from PC104SG dual port RAM.

Bits: 0: 1=On-board clock has not been verified to be within DP_Syncthr in last 5 seconds 1: 1=Input time code unreadable. 2: 1=PPS pulses not 1 second apart 3: 1=Major time has not been set since counter rejam 4: 1=Year not set

The status is read from the board 100 times a second. This status value returned by the IRIG_GET_STATUS ioctl is an OR of these bits since the last call to the IRIG_GET_STATUS ioctl.

Referenced by nidas::dynld::raf::IRIGSensor::checkClock(), nidas::dynld::raf::IRIGSensor::getIRIGTime(), pc104sg_isr(), and nidas::dynld::raf::IRIGSensor::printStatus().

uint32_t pc104sg_status::syncToggles

Counts of the number of times that the IRIG hardware clock has lost or regained sync.

Referenced by oneHzFunction(), pc104sg_isr(), and nidas::dynld::raf::IRIGSensor::printStatus().


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