MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / _rtc_get_secs

Function _rtc_get_secs

bsp/at32/libraries/rt_drivers/drv_rtc.c:216–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216static rt_err_t _rtc_get_secs(time_t *args)
217{
218 *(rt_uint32_t *)args = get_rtc_timestamp();
219 LOG_D("RTC: get rtc_time %x\n", *(rt_uint32_t *)args);
220
221 return RT_EOK;
222}
223
224static rt_err_t _rtc_set_secs(time_t *args)
225{

Callers

nothing calls this directly

Calls 1

get_rtc_timestampFunction · 0.70

Tested by

no test coverage detected