/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/i2c/ |
A D | i2c_test.c | 19 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 D | rtc.c | 39 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 D | aos_hal_rtc.h | 38 } 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 D | rtc.h | 46 } 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 D | hal_stub.c | 6 #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 D | aos_hal_rtc.c | 8 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 D | rtc_test.c | 16 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 D | aos_hal_rtc.c | 13 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 D | rtc.c | 29 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 D | rx8130ce_example.c | 31 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 D | module_rtc.c | 58 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 D | rtc.c | 93 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 D | machine_rtc.c | 50 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 D | machine_rtc.c | 73 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 D | machine_rtc.c | 73 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 D | module_rtc.c | 53 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 D | rtc.c | 115 rtc_time_t rtcTime; in obj_getTime() 160 rtc_time_t rtcTime; in obj_setTime()
|