aboutsummaryrefslogtreecommitdiff
path: root/rtic-monotonics/src/systick.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-04-16 12:05:20 +0000
committerGitHub <noreply@github.com>2023-04-16 12:05:20 +0000
commit56bf829931cd3f8267ad435f6ff8f3ae200418b4 (patch)
tree41afd65c26f8e77b02845476cbc15fce672119b3 /rtic-monotonics/src/systick.rs
parentef8046b060a375fd5e6b23d62c3a9a303bbd6e11 (diff)
parentcb83309462b1ed6d20ef498d7c2aaa86184c16fc (diff)
Merge #732
732: Docs 1 r=korken89 a=datdenkikniet Going over all of the subprojects and trying to find stuff that may need docs Co-authored-by: datdenkikniet <jcdra1@gmail.com>
Diffstat (limited to 'rtic-monotonics/src/systick.rs')
-rw-r--r--rtic-monotonics/src/systick.rs12
1 files changed, 10 insertions, 2 deletions
diff --git a/rtic-monotonics/src/systick.rs b/rtic-monotonics/src/systick.rs
index cba9aa2..0f215a7 100644
--- a/rtic-monotonics/src/systick.rs
+++ b/rtic-monotonics/src/systick.rs
@@ -1,6 +1,14 @@
-//! A monotonics based on Cortex-M SysTick. Note that this implementation is inefficient as it
-//! ticks, and generates interrupts, at a constant rate.
+//! [`Monotonic`] based on Cortex-M SysTick. Note: this implementation is inefficient as it
+//! ticks and generates interrupts at a constant rate.
//!
+//! Currently, the following tick rates are supported:
+//!
+//! | Feature | Tick rate | Precision |
+//! |:----------------:|----------:|----------:|
+//! | (none / default) | 1 Hz | 1 ms |
+//! | systick-100hz | 100 Hz | 10 ms |
+//! | systick-10khz | 10 KHz | 0.1 ms |
+
//! # Example
//!
//! ```