XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_sys_time.h 文件参考

时间戳及精确延迟。 更多...

#include "xf_sys_config_internal.h"
#include "xf_utils.h"
xf_sys_time.h 的引用(Include)关系图:

浏览源代码.

函数

xf_err_t xf_sys_time_init (xf_us_t(*get_us)(void))
 
xf_err_t xf_delay_ms (xf_ms_t n_ms)
 毫秒级延时
 
xf_err_t xf_delay_us (xf_us_t n_us)
 微秒级延时
 
xf_err_t xf_delay_until (xf_us_t n_us)
 延时到一个绝对的 us 级时间戳
 
xf_s_t xf_sys_time_get_s (void)
 获取系统时间的时间戳,单位秒(s)
 
xf_ms_t xf_sys_time_get_ms (void)
 获取系统时间的时间戳,单位毫秒(ms)
 
xf_us_t xf_sys_time_get_us (void)
 获取系统时间的时间戳,单位微秒(us)
 

详细描述

时间戳及精确延迟。

作者
cangyu (sky.k.nosp@m.irto.nosp@m.@qq.c.nosp@m.om)
版本
0.1
日期
2024-10-08

在文件 xf_sys_time.h 中定义.