ros666
0.1.0
Module timer
Module Items
Constants
Functions
In crate ros666
ros666
Module
timer
Copy item path
Source
Expand description
定时器相关
Constants
§
CLOCK_
FREQ
时钟频率
MSEC_
PER_
SEC
每秒的毫秒数
USEC_
PER_
SEC
每秒的微秒数
Functions
§
get_
time
获取当前时间
get_
time_
us
获取当前时间(微秒)
set_
next_
timeout
设置下一个时钟中断触发时间