Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/drivers/counter/
Dcounter_cmos.c39 hour, member
162 pm = ((state.hour & HOUR_PM) == HOUR_PM); in get_value()
163 state.hour &= ~HOUR_PM; in get_value()
177 state.hour = (state.hour + 12) % 24; in get_value()
189 epoch += state.hour * 3600; /* seconds per hour */ in get_value()
Dmaxim_ds3231.c47 uint8_t hour; member
56 uint8_t hour; member
62 uint8_t hour; member
/Zephyr-latest/tests/boards/native_sim/rtc/src/
Dmain.c23 unsigned int hour; in us_time_to_str() local
28 hour = (time / 3600U / 1000000U) % 24; in us_time_to_str()
33 sprintf(dest, "%02u:%02u:%02u.%06u", hour, minute, second, us); in us_time_to_str()
/Zephyr-latest/drivers/rtc/
Drtc_shell.c79 char hour[2 + 1]; in consume_time() local
83 s = consume_chars(s, hour, 2); in consume_time()
108 tm_time->tm_hour = atoi(hour); in consume_time()
Drtc_ifx_cat1.c125 z_time->tm_hour = (int)pdlTime->hour; in _ifx_cat1_rtc_from_pdl_time()
206 uint32_t hour = timeptr->tm_hour; in ifx_cat1_rtc_set_time() local
218 if (!CY_RTC_IS_SEC_VALID(sec) || !CY_RTC_IS_MIN_VALID(min) || !CY_RTC_IS_HOUR_VALID(hour) || in ifx_cat1_rtc_set_time()
231 rslt = Cy_RTC_SetDateAndTimeDirect(sec, min, hour, day, mon, year2digit); in ifx_cat1_rtc_set_time()
Drtc_numaker.c53 uint32_t hour; /* Hour value */ member
82 curr_time.hour = timeptr->tm_hour; in rtc_numaker_set_time()
118 timeptr->tm_hour = curr_time.hour; in rtc_numaker_get_time()
247 alarm_time.hour = timeptr->tm_hour; in rtc_numaker_alarm_set_time()
313 timeptr->tm_hour = alarm_time.hour; in rtc_numaker_alarm_get_time()
Drtc_rpi_pico.c119 .hour = timeptr->tm_hour, in rtc_rpi_pico_set_time()
145 timeptr->tm_hour = dt.hour; in rtc_rpi_pico_get_time()
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/
DKconfig10 shows as being relative to the start of the next hour.
DREADME.rst44 is set, the civil time will be advanced to the start of the next hour,
48 second past the hour is written at 1000 ms local uptime::
/Zephyr-latest/tests/drivers/gnss/gnss_nmea0183/src/
Dmain.c96 uint8_t hour; member
102 {.str = "000102", .hour = 0, .minute = 1, .millisecond = 2000},
103 {.str = "235959.999", .hour = 23, .minute = 59, .millisecond = 59999},
104 {.str = "000000.0", .hour = 0, .minute = 0, .millisecond = 0}
116 zassert_equal(hhmmss_samples[i].hour, utc.hour, "Failed to parse hour"); in ZTEST()
286 zassert_equal(data.utc.hour, 16, "Incorrectly parsed hour"); in ZTEST()
/Zephyr-latest/boards/native/native_posix/
Dtimer_model.c48 unsigned int hour; in us_time_to_str() local
53 hour = (time / 3600U / 1000000U) % 24; in us_time_to_str()
58 sprintf(dest, "%02u:%02u:%02u.%06u", hour, minute, second, us); in us_time_to_str()
/Zephyr-latest/include/zephyr/drivers/modem/
Dsimcom-sim7080.h100 uint8_t hour; member
/Zephyr-latest/tests/drivers/rtc/shell/src/
Dmain.c71 static void assert_set_time(int year, int mon, int mday, int hour, int min, int sec) in assert_set_time() argument
82 zassert_equal(hour, rtctime->tm_hour, "Hour mismatch"); in assert_set_time()
/Zephyr-latest/scripts/native_simulator/native/src/
Dtimer_model.c43 unsigned int hour; in us_time_to_str() local
48 hour = (time / 3600U / 1000000U) % 24; in us_time_to_str()
53 sprintf(dest, "%02u:%02u:%02u.%06u", hour, minute, second, us); in us_time_to_str()
/Zephyr-latest/samples/drivers/gnss/
DREADME.rst25 …gnss: gnss_time: {hour: 16, minute: 17, millisecond 36000, month_day 3, month: 10, century_year: 2…
/Zephyr-latest/tests/drivers/gnss/gnss_dump/src/
Dmain.c34 test_data.utc.hour = 1; in test_gnss_data()
/Zephyr-latest/tests/kernel/timer/starve/
DREADME.txt13 and the tick rate. By default the test passes if one hour passes
/Zephyr-latest/drivers/gnss/
Dgnss_dump.c124 ret = snprintk(str, strsize, fmt, utc->hour, utc->minute, utc->millisecond, in gnss_dump_time()
Dgnss_emul.c379 data->data.utc.hour = datetime.tm_hour; in gnss_emul_set_utc()
Dgnss_nmea0183.c325 utc->hour = (uint8_t)i32; in gnss_nmea0183_parse_hhmmss()
/Zephyr-latest/include/zephyr/drivers/
Dgnss.h152 uint8_t hour; member
/Zephyr-latest/subsys/bindesc/
DKconfig.build_time43 The hour of the day the image was compiled, such as 13 in 13:34:52
/Zephyr-latest/doc/kernel/
Dtimeutil.rst50 * Calendar time as a year, month, day, hour, minutes, and seconds relative to
193 inaccurate, with drifts as much as three minutes per hour (assuming an RC
/Zephyr-latest/subsys/bluetooth/mesh/
DKconfig1548 This option removes the 96 hour limit of the IV Update
1572 necessarily need to happen every hour (thanks to the flexible
1579 the 96 hour minimum gets split into. After each interval the
/Zephyr-latest/drivers/modem/
Dsimcom-sim7080.c1935 target_buf->time.hour = mdm_pdu_read_time(pdu, index++); in mdm_decode_pdu()

12