From 3004a57df9847dd420d7d9fb5cbbdf09667b4e06 Mon Sep 17 00:00:00 2001 From: Abraham Hamidi Date: Sun, 20 Oct 2024 19:42:27 -0500 Subject: [PATCH] Fix wording on clear_current --- cortex-m/src/peripheral/syst.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cortex-m/src/peripheral/syst.rs b/cortex-m/src/peripheral/syst.rs index 40042e17..9d6f2919 100644 --- a/cortex-m/src/peripheral/syst.rs +++ b/cortex-m/src/peripheral/syst.rs @@ -53,7 +53,7 @@ const SYST_CALIB_NOREF: u32 = 1 << 31; impl SYST { /// Clears current value to 0 /// - /// After calling `clear_current()`, the next call to `has_wrapped()` will return `false`. + /// After calling `clear_current()`, the next call to `has_wrapped()`, unless called after the reload time (if the counter is enabled), will return `false`. #[inline] pub fn clear_current(&mut self) { unsafe { self.cvr.write(0) }