mbgtools-lx
4.2.8
|
Local calendar date and time, plus sync status. More...
#include <pcpsdefs.h>
Data Fields | |
uint8_t | sec100 |
hundredths of seconds, 0..99, 10 ms resolution More... | |
uint8_t | sec |
seconds, 0..59, or 60 if leap second More... | |
uint8_t | min |
minutes, 0..59 More... | |
uint8_t | hour |
hours, 0..23 More... | |
uint8_t | mday |
day of month, 0..31 More... | |
uint8_t | wday |
day of week, 1..7, 1 = Monday More... | |
uint8_t | month |
month, 1..12 More... | |
uint8_t | year |
year of the century, 0..99 More... | |
PCPS_TIME_STATUS | status |
status bits, see PCPS_TIME_STATUS_FLAGS_COMMON More... | |
PCPS_SIG_VAL | signal |
signal strength, see PCPS_SIG_VAL_DEFS More... | |
int8_t | offs_utc |
[hours], 0 if not _pcps_has_utc_offs More... | |
Local calendar date and time, plus sync status.
This legacy structure is supported by all bus level devices but has a time resultion of 10 ms only. For more accurate time stamps the structures PCPS_HR_TIME and PCPS_TIME_STAMP should be used preferably.
Definition at line 1128 of file pcpsdefs.h.
uint8_t PCPS_TIME::hour |
hours, 0..23
Definition at line 1133 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), mbg_str_pcps_time(), mbg_str_pcps_time_long(), mbg_str_pcps_time_short(), pcps_mktime(), pcps_probe_device(), pcps_time_is_valid(), pcps_time_to_time_str(), release_cyclic_lock(), set_date_time(), and set_system_time_from_pcps_time().
uint8_t PCPS_TIME::mday |
day of month, 0..31
Definition at line 1135 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), mbg_str_pcps_date(), mbg_str_pcps_date_short(), pcps_mktime(), pcps_probe_device(), pcps_time_is_valid(), pcps_time_to_time_str(), set_date_time(), and set_system_time_from_pcps_time().
uint8_t PCPS_TIME::min |
minutes, 0..59
Definition at line 1132 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), mbg_str_pcps_time(), mbg_str_pcps_time_long(), mbg_str_pcps_time_short(), pcps_mktime(), pcps_probe_device(), pcps_time_is_valid(), pcps_time_to_time_str(), release_cyclic_lock(), set_date_time(), and set_system_time_from_pcps_time().
uint8_t PCPS_TIME::month |
month, 1..12
Definition at line 1137 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), mbg_str_pcps_date(), mbg_str_pcps_date_short(), pcps_mktime(), pcps_probe_device(), pcps_time_is_valid(), pcps_time_to_time_str(), set_date_time(), and set_system_time_from_pcps_time().
int8_t PCPS_TIME::offs_utc |
[hours], 0 if not _pcps_has_utc_offs
Definition at line 1142 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), pcps_mktime(), pcps_probe_device(), pcps_time_to_time_str(), pcps_tz_name(), and set_system_time_from_pcps_time().
uint8_t PCPS_TIME::sec |
seconds, 0..59, or 60 if leap second
Definition at line 1131 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), mbg_str_pcps_time(), mbg_str_pcps_time_long(), pcps_mktime(), pcps_probe_device(), pcps_time_is_valid(), pcps_time_to_time_str(), release_cyclic_lock(), set_date_time(), and set_system_time_from_pcps_time().
uint8_t PCPS_TIME::sec100 |
hundredths of seconds, 0..99, 10 ms resolution
Definition at line 1130 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), mbg_str_pcps_time_long(), pcps_probe_device(), pcps_time_is_valid(), release_cyclic_lock(), set_date_time(), and set_system_time_from_pcps_time().
PCPS_SIG_VAL PCPS_TIME::signal |
signal strength, see PCPS_SIG_VAL_DEFS
Definition at line 1141 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), pcps_probe_device(), show_modulation(), and show_time_and_status().
PCPS_TIME_STATUS PCPS_TIME::status |
status bits, see PCPS_TIME_STATUS_FLAGS_COMMON
Definition at line 1140 of file pcpsdefs.h.
Referenced by do_set_system_time_from_pcps_time(), mbg_snprint_date_time(), pcps_probe_device(), pcps_time_to_time_str(), pcps_tz_name(), print_pcps_time(), and show_time_and_status().
uint8_t PCPS_TIME::wday |
day of week, 1..7, 1 = Monday
Definition at line 1136 of file pcpsdefs.h.
Referenced by pcps_probe_device(), pcps_time_is_valid(), and pcps_time_to_time_str().
uint8_t PCPS_TIME::year |
year of the century, 0..99
Definition at line 1138 of file pcpsdefs.h.
Referenced by mbg_snprint_date_time(), mbg_str_pcps_date(), pcps_mktime(), pcps_probe_device(), pcps_time_is_valid(), pcps_time_to_time_str(), set_date_time(), and set_system_time_from_pcps_time().