We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
McycleDelay::new
1 parent d50928b commit 2871568Copy full SHA for 2871568
src/delay.rs
@@ -8,7 +8,8 @@ pub struct McycleDelay {
8
}
9
10
impl McycleDelay {
11
- /// Constructs the delay provider
+ /// Constructs the delay provider.
12
+ /// `ticks_second` should be the clock speed of the core, in Hertz
13
#[inline(always)]
14
pub fn new(ticks_second: u32) -> Self {
15
Self { ticks_second }
0 commit comments