mbgtools-lx  4.2.8
PCPS_HR_TIME Struct Reference

High resolution time including status and local time offset. More...

#include <pcpsdefs.h>

Data Fields

PCPS_TIME_STAMP tstamp
 High resolution time stamp (UTC) More...
 
int32_t utc_offs
 UTC offs [sec] (loc_time = tstamp + utc_offs) More...
 
PCPS_TIME_STATUS_X status
 status bits, see PCPS_TIME_STATUS_FLAGS More...
 
PCPS_SIG_VAL signal
 signal strength, see PCPS_SIG_VAL_DEFS, or capture input channel number More...
 

Detailed Description

High resolution time including status and local time offset.

Used to read time with high resolution of fractions of seconds and more detailed information on the local time offset and status. Should be prefered over PCPS_TIME.

_pcps_has_hr_time checks whether the command PCPS_GIVE_TIME is supported to read a device's current time using this format.

Newer devices providing time capture input may also accept the PCPS_GIVE_UCAP_EVENT command to read user capture event times using this format. In this case, the "signal" field contains the number of the capture input line, e.g. 0 or 1. _pcps_has_ucap checks whether this is supported.

Definition at line 1085 of file pcpsdefs.h.

Field Documentation

◆ signal

PCPS_SIG_VAL PCPS_HR_TIME::signal

signal strength, see PCPS_SIG_VAL_DEFS, or capture input channel number

Definition at line 1090 of file pcpsdefs.h.

Referenced by mbg_print_hr_time(), mbg_set_current_process_affinity_to_cpu(), mbg_str_ucap(), and show_ucap_event().

◆ status

◆ tstamp

◆ utc_offs

int32_t PCPS_HR_TIME::utc_offs

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