Home
last modified time | relevance | path

Searched refs:rtc_time_t (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/i2c/
A Di2c_test.c19 static int32_t rtc_i2c_get_time(rtc_time_t *time);
20 static int32_t rtc_i2c_set_time(rtc_time_t *time);
24 static rtc_time_t rtc_time = {.sec = 0x45, .min = 0x8, .hr = 0x1, .weekday = 0x5, .date = 0x1, .mon…
26 static rtc_time_t rtc_time_r;
35 memset(&rtc_time_r, 0, sizeof(rtc_time_t)); in hal_i2c_test()
126 int32_t rtc_i2c_get_time(rtc_time_t *time) in rtc_i2c_get_time()
139 int32_t rtc_i2c_set_time(rtc_time_t *time) in rtc_i2c_set_time()
/AliOS-Things-master/hardware/board/haas100/drivers/
A Drtc.c39 int32_t hal_rtc_get_time(rtc_dev_t *rtc, rtc_time_t *time) in hal_rtc_get_time()
43 ret = rx8130ce_get_time(time, sizeof(rtc_time_t)); in hal_rtc_get_time()
62 int32_t hal_rtc_set_time(rtc_dev_t *rtc, const rtc_time_t *time) in hal_rtc_set_time()
66 ret = rx8130ce_set_time(time, sizeof(rtc_time_t)); in hal_rtc_set_time()
/AliOS-Things-master/components/amp_adapter/include/peripheral/
A Daos_hal_rtc.h38 } rtc_time_t; typedef
58 int32_t aos_hal_rtc_get_time(rtc_dev_t *rtc, rtc_time_t *time);
68 int32_t aos_hal_rtc_set_time(rtc_dev_t *rtc, const rtc_time_t *time);
/AliOS-Things-master/components/drivers/core/base/include/aos/hal/
A Drtc.h46 } rtc_time_t; typedef
66 int32_t hal_rtc_get_time(rtc_dev_t *rtc, rtc_time_t *time);
76 int32_t hal_rtc_set_time(rtc_dev_t *rtc, const rtc_time_t *time);
/AliOS-Things-master/components/libc_stub/compilers/armlibc/
A Dhal_stub.c6 #define rtc_time_t void macro
54 WEAK int hal_rtc_get_time(rtc_dev_t *rtc, rtc_time_t *time) in hal_rtc_get_time()
66 WEAK int hal_rtc_set_time(rtc_dev_t *rtc, const rtc_time_t *time) in hal_rtc_set_time()
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_rtc.c8 rtc_time_t time_save;
22 int32_t aos_hal_rtc_get_time(rtc_dev_t *rtc, rtc_time_t *time) in aos_hal_rtc_get_time()
33 int32_t aos_hal_rtc_set_time(rtc_dev_t *rtc, const rtc_time_t *time) in aos_hal_rtc_set_time()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/rtc/
A Drtc_test.c16 static rtc_time_t rtc_time_r;
18 static rtc_time_t rtc_time = {.sec = 45, .min = 30, .hr = 15, .weekday = 5, .date = 1, .month = 3, …
28 memset(&rtc_time_r, 0, sizeof(rtc_time_t)); in hal_rtc_test()
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/
A Daos_hal_rtc.c13 int32_t aos_hal_rtc_get_time(rtc_dev_t *rtc, rtc_time_t *time) in aos_hal_rtc_get_time()
18 int32_t aos_hal_rtc_set_time(rtc_dev_t *rtc, const rtc_time_t *time) in aos_hal_rtc_set_time()
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Drtc.c29 int32_t hal_rtc_get_time(rtc_dev_t *rtc, rtc_time_t *time) in hal_rtc_get_time()
42 int32_t hal_rtc_set_time(rtc_dev_t *rtc, const rtc_time_t *time) in hal_rtc_set_time()
/AliOS-Things-master/components/drivers/external_device/rx8130ce/example/
A Drx8130ce_example.c31 ret = rx8130ce_set_time(data, sizeof(rtc_time_t)); in rx8130ce_comp_example()
42 ret = rx8130ce_get_time(data_rtn, sizeof(rtc_time_t)); in rx8130ce_comp_example()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/rtc/
A Dmodule_rtc.c58 rtc_time_t rtcTime; in native_rtc_get_time()
85 rtc_time_t *setTime; in native_rtc_set_time()
94 setTime = (rtc_time_t *)aos_malloc(sizeof(rtc_time_t)); in native_rtc_set_time()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Drtc.c93 static u32 get_yday(rtc_time_t *time) in get_yday()
185 int32_t hal_rtc_get_time(rtc_dev_t *rtc, rtc_time_t *time) in hal_rtc_get_time()
258 int32_t hal_rtc_set_time(rtc_dev_t *rtc, const rtc_time_t *time) in hal_rtc_set_time()
271 timeinfo.tm_yday = get_yday((rtc_time_t *)time); in hal_rtc_set_time()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmachine_rtc.c50 rtc_time_t tm = { 0 }; in machine_rtc_datetime_helper()
66 rtc_time_t tm = { in machine_rtc_datetime_helper()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmachine_rtc.c73 rtc_time_t tm = {0}; in machine_rtc_datetime_helper()
94 rtc_time_t tm = { in machine_rtc_datetime_helper()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmachine_rtc.c73 rtc_time_t tm = {0}; in machine_rtc_datetime_helper()
94 rtc_time_t tm = { in machine_rtc_datetime_helper()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/rtc/
A Dmodule_rtc.c53 rtc_time_t rtcTime; in native_rtc_get_time()
76 rtc_time_t rtcTime; in native_rtc_set_time()
/AliOS-Things-master/components/py_engine/modules/driver/
A Drtc.c115 rtc_time_t rtcTime; in obj_getTime()
160 rtc_time_t rtcTime; in obj_setTime()

Completed in 16 milliseconds