Change the doc of trigger_overflow to be more precise
@@ -210,7 +210,8 @@ where
}
}
- /// Trigger the Real Time Counter to overflow, mainly for testing purposes
+ /// Sets the Real Time Counter value to 0xFFFFF0, to allow tests of the overflow condition.
+ /// The overflow event occurs when the Real Time Counter overflows from 0xFFFFFF to 0.
pub fn trigger_overflow(&self) {
unsafe {
self.periph.tasks_trigovrflw.write(|w| w.bits(1));
