<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Whether Event handlers run in Interrupt context</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48353/whether-event-handlers-run-in-interrupt-context</link><description>Hello, 
 
 I am using ble_app_blinky. I have a basic query about event handles. There are lot of event handlers registers as part of initialization. Will all these event handlers run in interrupt context. 
 Example: 
 app_timer_create(..., repeated_timer_handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Jun 2019 13:12:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48353/whether-event-handlers-run-in-interrupt-context" /><item><title>RE: Whether Event handlers run in Interrupt context</title><link>https://devzone.nordicsemi.com/thread/191731?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2019 13:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca1a7949-3d53-49da-ae79-6872fbd4bcbd</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Thank you for your inputs.&amp;nbsp;I will go through Keyboad and Mouse example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Whether Event handlers run in Interrupt context</title><link>https://devzone.nordicsemi.com/thread/191730?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2019 11:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57aede8d-aa41-4a7b-9e59-c4bcfaf0f2d3</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The event handlers run in&amp;nbsp;interrupt context, but you can run event handler in main&amp;#39;s context by using the&amp;nbsp;&lt;a title="Schedule handling library" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_scheduler.html?cp=5_1_3_38"&gt;Schedule handling library&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;With the app_scheduler you call &lt;a title="Function for scheduling an event." href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__app__scheduler.html#ga65ba3e30627bb62882d15cde87b610f0"&gt;app_sched_event_put()&lt;/a&gt;&amp;nbsp;from an event handler, and then the scheduler will execute the given event handler from main&amp;#39;s context after you&amp;#39;ve returned from interrupt context.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>