diff --git a/examples/timing_task.rs b/examples/timing_task.rs index ce72552d568d26880caa49883330b0c04d820aa5..a4dbe5aecf4f59668cf2f755c0850d8a64a0664c 100644 --- a/examples/timing_task.rs +++ b/examples/timing_task.rs @@ -82,7 +82,7 @@ const APP: () = { // (gdb) x 0xe0001004 // // [Your answer here] -// 0xe0001004: 0x0000000b +// 0xe0001004: 0x0000000b = 11 cycles // // (gdb) disassemble // @@ -104,14 +104,14 @@ const APP: () = { // What was the software latency observed to enter the task? // // [Your answer here] -// 12 - 0 = 12 cycles +// 11 - 0 = 11 cycles // // Does RTIC infer any overhead for launching the task? // // [Your answer here] -// No, it dosen't. In the document +// No, it doesn't. In the document // https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/beginner-guide-on-interrupt-latency-and-interrupt-latency-of-the-arm-cortex-m-processors -// it says that the interupt latency for Cortex-M4 is 12. +// it says that the interrupt latency for Cortex-M4 is 12. // // Now we can continue to measure the round trip time. // @@ -122,7 +122,7 @@ const APP: () = { // (gdb) x 0xe0001004 // // [Your answer here] -// 0xe0001004: 0x00000017 +// 0xe0001004: 0x00000017 = 16 + 7 = 23 cycles // // // Looking at the EXTI0 (exti0) code, we see two additional