Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bel
bel4_ezb_public
Commits
a7f80790
Commit
a7f80790
authored
Feb 21, 2018
by
Martin Horauer
Browse files
added rise/fall handler timing measurements
parent
ac10bcbb
Changes
3
Hide whitespace changes
Inline
Side-by-side
XMC_MBED/APP_InterruptIn/README.adoc
View file @
a7f80790
...
...
@@ -12,6 +12,19 @@ image::seriallog.png[]
This example also uses MBED-OS queue functionality as well as UART1 on the XMC
Relax-Kit.
The following screenshot shows the time it takes from the input event until
event processing via an event queue. Here the event of the falling edge is
queued as event in MBED-OS. It takes approximately 35ms until MBED-OS is ready
to process this event (`fall_handler()`).
image::fallhandler.png[]
The next screenshot shows the timing when the routine is called from the ISR
context (regular ISR processing). Here it takes approximately 0.3ms from the
event until the `rise_handler()` (the ISR) is processed.
image::rise_handler.png[]
== Makefile Usage
[source%nowrap, bash]
...
...
@@ -34,7 +47,7 @@ mbed compile -c -m XMC_4500_RELAX_KIT -t GCC_ARM -N main
----
This creates several files in the BUILD directory where you can find the
executable
s
(bin, elf, hex ...).
executable (bin, elf, hex ...).
== Flashing
...
...
XMC_MBED/APP_InterruptIn/fallhandler.png
0 → 100644
View file @
a7f80790
55.7 KB
XMC_MBED/APP_InterruptIn/risehandler.png
0 → 100644
View file @
a7f80790
56 KB
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment