/Zephyr-Core-3.6.0/tests/drivers/gnss/gnss_dump/src/ |
D | main.c | 34 test_data.utc.hour = 1; in test_gnss_data() 35 test_data.utc.minute = 2; in test_gnss_data() 36 test_data.utc.millisecond = 3; in test_gnss_data() 37 test_data.utc.month_day = 4; in test_gnss_data() 38 test_data.utc.month = 5; in test_gnss_data() 39 test_data.utc.century_year = 6; in test_gnss_data()
|
/Zephyr-Core-3.6.0/drivers/gnss/ |
D | gnss_dump.c | 118 int gnss_dump_time(char *str, uint16_t strsize, const struct gnss_time *utc) in gnss_dump_time() argument 124 ret = snprintk(str, strsize, fmt, utc->hour, utc->minute, utc->millisecond, in gnss_dump_time() 125 utc->month_day, utc->month, utc->century_year); in gnss_dump_time() 160 if (gnss_dump_time(dump_buf, sizeof(dump_buf), &data->utc) < 0) { in gnss_dump_data_to_log()
|
D | gnss_dump.h | 41 * @param utc GNSS time to dump 46 int gnss_dump_time(char *str, uint16_t strsize, const struct gnss_time *utc); 53 * @param utc GNSS satellite to dump
|
D | gnss_nmea0183.c | 305 int gnss_nmea0183_parse_hhmmss(const char *hhmmss, struct gnss_time *utc) in gnss_nmea0183_parse_hhmmss() argument 312 __ASSERT(utc != NULL, "utc argument must be provided"); in gnss_nmea0183_parse_hhmmss() 325 utc->hour = (uint8_t)i32; in gnss_nmea0183_parse_hhmmss() 334 utc->minute = (uint8_t)i32; in gnss_nmea0183_parse_hhmmss() 342 utc->millisecond = (uint16_t)i64; in gnss_nmea0183_parse_hhmmss() 346 int gnss_nmea0183_parse_ddmmyy(const char *ddmmyy, struct gnss_time *utc) in gnss_nmea0183_parse_ddmmyy() argument 352 __ASSERT(utc != NULL, "utc argument must be provided"); in gnss_nmea0183_parse_ddmmyy() 365 utc->month_day = (uint8_t)i32; in gnss_nmea0183_parse_ddmmyy() 374 utc->month = (uint8_t)i32; in gnss_nmea0183_parse_ddmmyy() 383 utc->century_year = (uint8_t)i32; in gnss_nmea0183_parse_ddmmyy() [all …]
|
D | gnss_nmea0183.h | 81 * @param utc Destination for parsed time 86 int gnss_nmea0183_parse_hhmmss(const char *hhmmss, struct gnss_time *utc); 94 * @param utc Destination for parsed time 99 int gnss_nmea0183_parse_ddmmyy(const char *ddmmyy, struct gnss_time *utc);
|
D | gnss_nmea0183_match.c | 17 static int gnss_nmea0183_match_parse_utc(char **argv, uint16_t argc, uint32_t *utc) in gnss_nmea0183_match_parse_utc() argument 27 *utc = (uint32_t)i64; in gnss_nmea0183_match_parse_utc()
|
/Zephyr-Core-3.6.0/tests/drivers/gnss/gnss_nmea0183/src/ |
D | main.c | 109 struct gnss_time utc; in ZTEST() local 113 zassert_ok(gnss_nmea0183_parse_hhmmss(hhmmss_samples[i].str, &utc), in ZTEST() 116 zassert_equal(hhmmss_samples[i].hour, utc.hour, "Failed to parse hour"); in ZTEST() 117 zassert_equal(hhmmss_samples[i].minute, utc.minute, "Failed to parse minute"); in ZTEST() 118 zassert_equal(hhmmss_samples[i].millisecond, utc.millisecond, in ZTEST() 122 ret = gnss_nmea0183_parse_hhmmss("-101010", &utc); in ZTEST() 125 ret = gnss_nmea0183_parse_hhmmss("01010", &utc); in ZTEST() 128 ret = gnss_nmea0183_parse_hhmmss("246060.999", &utc); in ZTEST() 131 ret = gnss_nmea0183_parse_hhmmss("99a9c9", &utc); in ZTEST() 134 ret = gnss_nmea0183_parse_hhmmss("12121212", &utc); in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/doc/kernel/ |
D | timeutil.rst | 54 interpreted relative to a time scale which may be local time, UTC, or some 143 over time. There are several variants of UT, with `UTC 156 start of 1970 UTC). `UNIX Time 160 instants in these scales correspond to times in the UTC scale, so they inherit 165 leap-second corrections added after the POSIX epoch (when TAI-UTC was 8 s). 171 difference between TAI and UTC from 36 seconds to 37 seconds. There was 173 between TAI and UTC was only 32 seconds. The following table shows 177 UTC Date UNIX time TAI Date TAI-UTC UNIX Leap Time 214 If an application requires civil time accuracy within several seconds then UTC
|
/Zephyr-Core-3.6.0/subsys/bindesc/ |
D | CMakeLists.txt | 13 # in either local time or UTC, depending on CONFIG_BINDESC_BUILD_TIME_USE_LOCAL_TIME. 18 string(TIMESTAMP ${out_var} ${format} UTC)
|
D | Kconfig.build_time | 15 the local time, rather than UTC. 87 it is UTC time.
|
/Zephyr-Core-3.6.0/subsys/net/l2/ethernet/gptp/ |
D | gptp_data_set.h | 230 /** Current UTC offset. */ 233 /** System current UTC offset. */ 273 /** Current UTC offset. */ 358 /** Current UTC offset for the Grand Master. */ 361 /** Current UTC offset valid for the Grand Master. */ 364 /** The Grand Master will have 59s at the end of the current UTC day. 368 /** The Grand Master will have 61s at the end of the current UTC day. 372 /** The current UTC offset of the GM is traceable to a primary ref. */
|
D | gptp.c | 394 default_ds->cur_utc_offset = 37U; /* Current leap seconds TAI - UTC */ in gptp_init_clock_ds() 425 prop_ds->cur_utc_offset = 37U; /* Current leap seconds TAI - UTC */ in gptp_init_clock_ds()
|
D | gptp_state.h | 555 /** Last announce message current UTC offset value. */
|
/Zephyr-Core-3.6.0/subsys/net/lib/sntp/ |
D | sntp.c | 136 /* UTC time is reckoned from 0h 0m 0s UTC in parse_response() 145 /* UTC time is reckoned from 6h 28m 16s UTC in parse_response()
|
/Zephyr-Core-3.6.0/include/zephyr/drivers/modem/ |
D | simcom-sim7080.h | 31 * UTC in format yyyyMMddhhmmss.sss 33 char utc[SIM7080_GNSS_DATA_UTC_LEN]; member
|
D | hl7800.h | 383 * @param offset The amount the local time is offset from GMT/UTC in seconds.
|
/Zephyr-Core-3.6.0/drivers/rtc/ |
D | rtc_shell.c | 221 ("Get current time (UTC)\n" \ 225 ("Set UTC time\n" \
|
/Zephyr-Core-3.6.0/include/zephyr/drivers/rtc/ |
D | mcp7940n.h | 186 * A Unix time of '0' means a timestamp of 00:00:00 UTC on Thursday 1st January
|
/Zephyr-Core-3.6.0/include/zephyr/drivers/ |
D | gnss.h | 199 /** UTC time when data was acquired */ 200 struct gnss_time utc; member
|
/Zephyr-Core-3.6.0/subsys/shell/modules/ |
D | date_service.c | 27 "%02u:%02u:%02u UTC", in date_print()
|
/Zephyr-Core-3.6.0/drivers/counter/ |
D | counter_cmos.c | 129 * Get the Unix epoch time (assuming UTC) read from the CMOS RTC.
|
/Zephyr-Core-3.6.0/.github/workflows/ |
D | clang.yaml | 81 string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
|
D | twister.yaml | 15 # Run at 03:00 UTC on every Sunday 203 string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
|
/Zephyr-Core-3.6.0/drivers/modem/ |
D | simcom-sim7080.c | 1434 char *utc = gnss_get_next_param(NULL, ",", &saveptr); in parse_cgnsinf() local 1436 if (utc == NULL) { in parse_cgnsinf() 1469 strncpy(gnss_data.utc, utc, sizeof(gnss_data.utc) - 1); in parse_cgnsinf() 1531 * +CGNSINF: <GNSS run status>,<Fix status>,<UTC date & Time>,
|
/Zephyr-Core-3.6.0/include/zephyr/lorawan/ |
D | lorawan.h | 364 * from UTC, as it does not consider corrections like leap seconds.
|