Constant embassy_time::TICK_HZ
source · pub const TICK_HZ: u64 = tick::TICK_HZ; // 1_000_000u64
Expand description
中文(Chinese)
全局时间基线中的时间刻度(Ticks),单位是Ticks/秒
时间刻度在 tick-*
开头的 Cargo features中定义, 在
时间驱动中设置。一些驱动仅支持固定的频率, 另一些允许
通过Cargo features单独设置。作为最终用户,在embassy中并
不能设置tick-*
features。
English
Ticks per second of the global timebase.
This value is specified by the tick-*
Cargo features, which
should be set by the time driver. Some drivers support a fixed tick rate, others
allow you to choose a tick rate with Cargo features of their own. You should not
set the tick-*
features for embassy yourself as an end user.