From 7bec2347663d0a8c361f48adae7a2fa7e84abede Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sun, 26 Dec 2021 11:42:14 +0100 Subject: Improved docs on where the 12 MHz comes from in SysTick --- examples/t-schedule.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/t-schedule.rs') diff --git a/examples/t-schedule.rs b/examples/t-schedule.rs index 6ee08af..5ec4208 100644 --- a/examples/t-schedule.rs +++ b/examples/t-schedule.rs @@ -25,6 +25,7 @@ mod app { fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { let systick = cx.core.SYST; + // Initialize the monotonic (SysTick rate in QEMU is 12 MHz) let mono = Systick::new(systick, 12_000_000); debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator -- cgit v1.2.3