From e79a2aed679dac88fdb97bc7dd85f6f3b58688c0 Mon Sep 17 00:00:00 2001 From: rubenasplund <ruben.asplund@hotmail.com> Date: Sat, 5 Dec 2020 18:59:25 +0100 Subject: [PATCH] timing_resources done --- examples/timing_resources.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/timing_resources.rs b/examples/timing_resources.rs index ecd1f96..54f3fc4 100644 --- a/examples/timing_resources.rs +++ b/examples/timing_resources.rs @@ -123,11 +123,11 @@ const APP: () = { // // What was the software latency observed to enter the task? // -// [Your answer here] +// [16 -2 = 14 clock cycles] // // Does RTIC infer any overhead? // -// [Your answer here] +// [Yes, because the Cortex-M take 12 cycles, which means that 14-12 = 2 overhead cycles.] // // The debugger reports that the breakpoint was hit in the `run<closure>`. // The reason is that the RTIC implements the actual interrupt handler, -- GitLab