Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ _rtc_get_timeval
Function
_rtc_get_timeval
bsp/at32/libraries/rt_drivers/drv_rtc.c:375–380 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
373
}
374
375
static rt_err_t _rtc_get_timeval(struct timeval *tv)
376
{
377
tv->tv_sec = get_rtc_timestamp();
378
379
return RT_EOK;
380
}
381
382
static const struct rt_rtc_ops _rtc_ops =
383
{
Callers
nothing calls this directly
Calls
1
get_rtc_timestamp
Function · 0.70
Tested by
no test coverage detected