Home
last modified time | relevance | path

Searched refs:weekday (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/rtc/
A Drtc_test.c18 static rtc_time_t rtc_time = {.sec = 45, .min = 30, .hr = 15, .weekday = 5, .date = 1, .month = 3, …
35 rtc_time.year, rtc_time.month, rtc_time.date, rtc_time.weekday, in hal_rtc_test()
61 rtc_time_r.year, rtc_time_r.month, rtc_time_r.date, rtc_time_r.weekday, in hal_rtc_test()
67 ||(rtc_time_r.weekday != rtc_time.weekday) in hal_rtc_test()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/i2c/
A Di2c_test.c24 static rtc_time_t rtc_time = {.sec = 0x45, .min = 0x8, .hr = 0x1, .weekday = 0x5, .date = 0x1, .mon…
47 rtc_time.year, rtc_time.month, rtc_time.date, rtc_time.weekday, in hal_i2c_test()
64 rtc_time_r.year, rtc_time_r.month, rtc_time_r.date, rtc_time_r.weekday, in hal_i2c_test()
78 rtc_time_r.year, rtc_time_r.month, rtc_time_r.date, rtc_time_r.weekday, in hal_i2c_test()
84 ||(rtc_time_r.weekday != rtc_time.weekday) in hal_i2c_test()
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_time.c197 utc.day = utc.day + next_weekday_diff_get(local_time.weekday, schedule); in genie_time_periodic_start()
734 int weekday; in unix2UTC() local
741 weekday = (jdn + 4) % 7; // 1970/1/1 is thursday in unix2UTC()
879 utc.weekday = weekday; in unix2UTC()
946 local_time.weekday = (local_time.weekday + 1) % 7; in days_update()
1065 …if (is_weekday_match(local_time.weekday, vendor_timer->schedule) && vendor_timer->unixtime_match <… in is_genie_time_timeout()
1067 …er->unixtime_match += (1 + next_weekday_diff_get(next_weekday(local_time.weekday), vendor_timer->s… in is_genie_time_timeout()
1152 utc_time.weekday, genie_time_data.timezone); in genie_time_utc_start()
1162 local_time.weekday, genie_time_data.timezone); in genie_time_local_time_show()
1220 local_time.weekday); in genie_time_local_time_update()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmachine_rtc.c55 …bj_new_int(tm.year), mp_obj_new_int(tm.month), mp_obj_new_int(tm.date), mp_obj_new_int(tm.weekday), in machine_rtc_datetime_helper()
70 .weekday = mp_obj_get_int(items[3]), in machine_rtc_datetime_helper()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmachine_rtc.c81 mp_obj_new_int(tm.weekday), in machine_rtc_datetime_helper()
98 .weekday = mp_obj_get_int(items[3]), in machine_rtc_datetime_helper()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmachine_rtc.c81 mp_obj_new_int(tm.weekday), in machine_rtc_datetime_helper()
98 .weekday = mp_obj_get_int(items[3]), in machine_rtc_datetime_helper()
/AliOS-Things-master/components/amp_adapter/include/peripheral/
A Daos_hal_rtc.h34 …uint8_t weekday; /* DEC format:value range from 1 to 7, BCD format:value range from 0x01 to 0x07 … member
/AliOS-Things-master/components/drivers/core/base/include/aos/hal/
A Drtc.h42 …uint8_t weekday; /**< DEC format:value range from 1 to 7, BCD format:value range from 0x01 to 0x0… member
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Drtc.c242 time->weekday = tm_temp.tm_wday; in hal_rtc_get_time()
266 timeinfo.tm_wday= time->weekday; in hal_rtc_set_time()
/AliOS-Things-master/components/genie_service/core/inc/
A Dgenie_time.h95 uint8_t weekday; // 0 means sunday member
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.h290 duk_double_t weekday; /* weekday: 0-6, 0=Sunday, 1=Monday, ..., 6=Saturday */ member
A Dduktape.c31101 comp->weekday = dparts[DUK_DATE_IDX_WEEKDAY]; in duk_time_to_components()

Completed in 245 milliseconds