mbgtools-lx  4.2.8
PCPS_STIME Struct Reference

Date time and status used with the PCPS_SET_TIME command. 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...
 

Detailed Description

Date time and status used with the PCPS_SET_TIME command.

Similar to PCPS_TIME, but missing the PCPS_TIME::signal and PCPS_TIME::offs_utc fields.

See also
PCPS_TIME

Definition at line 1156 of file pcpsdefs.h.

Field Documentation

◆ hour

uint8_t PCPS_STIME::hour

hours, 0..23

Definition at line 1161 of file pcpsdefs.h.

Referenced by set_date_time().

◆ mday

uint8_t PCPS_STIME::mday

day of month, 0..31

Definition at line 1163 of file pcpsdefs.h.

Referenced by set_date_time().

◆ min

uint8_t PCPS_STIME::min

minutes, 0..59

Definition at line 1160 of file pcpsdefs.h.

Referenced by set_date_time().

◆ month

uint8_t PCPS_STIME::month

month, 1..12

Definition at line 1165 of file pcpsdefs.h.

Referenced by set_date_time().

◆ sec

uint8_t PCPS_STIME::sec

seconds, 0..59, or 60 if leap second

Definition at line 1159 of file pcpsdefs.h.

Referenced by set_date_time().

◆ sec100

uint8_t PCPS_STIME::sec100

hundredths of seconds, 0..99, 10 ms resolution

Definition at line 1158 of file pcpsdefs.h.

Referenced by set_date_time().

◆ status

PCPS_TIME_STATUS PCPS_STIME::status

status bits, see PCPS_TIME_STATUS_FLAGS_COMMON

Definition at line 1168 of file pcpsdefs.h.

◆ wday

uint8_t PCPS_STIME::wday

day of week, 1..7, 1 = Monday

Definition at line 1164 of file pcpsdefs.h.

Referenced by set_date_time().

◆ year

uint8_t PCPS_STIME::year

year of the century, 0..99

Definition at line 1166 of file pcpsdefs.h.

Referenced by set_date_time().


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