Home
last modified time | relevance | path

Searched refs:RT_DEVICE_CTRL_RTC_SET_TIME (Results 1 – 4 of 4) sorted by relevance

/components/drivers/rtc/
A Ddev_rtc.c71 case RT_DEVICE_CTRL_RTC_SET_TIME: in rt_rtc_control()
180 ret = rt_device_control(_rtc_device, RT_DEVICE_CTRL_RTC_SET_TIME, &now); in set_date()
227 ret = rt_device_control(_rtc_device, RT_DEVICE_CTRL_RTC_SET_TIME, &now); in set_time()
250 return rt_device_control(_rtc_device, RT_DEVICE_CTRL_RTC_SET_TIME, &timestamp); in set_timestamp()
A Ddev_soft_rtc.c100 case RT_DEVICE_CTRL_RTC_SET_TIME: in soft_rtc_control()
/components/drivers/include/drivers/
A Ddev_rtc.h85 #define RT_DEVICE_CTRL_RTC_SET_TIME (RT_DEVICE_CTRL_BASE(RTC) + 0x02) /**< set sec… macro
/components/libc/compilers/common/
A Dctime.c371 if ((t != RT_NULL) && (_control_rtc(RT_DEVICE_CTRL_RTC_SET_TIME, (void *)t) == RT_EOK)) in stime()
525 if (_control_rtc(RT_DEVICE_CTRL_RTC_SET_TIME, (void *)&tv->tv_sec) == RT_EOK) in settimeofday()

Completed in 9 milliseconds