<?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>assert check to ensure that code is not running in an interrupt handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48722/assert-check-to-ensure-that-code-is-not-running-in-an-interrupt-handler</link><description>I would like to insert some asserts in my code to ensure that code is not running inside a interrupt handler, because this can cause hard to debug issues. 
 How can I check that my code is not running inside a interrupt handler?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jun 2019 13:45:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48722/assert-check-to-ensure-that-code-is-not-running-in-an-interrupt-handler" /><item><title>RE: assert check to ensure that code is not running in an interrupt handler</title><link>https://devzone.nordicsemi.com/thread/193453?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 13:45:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f305d50-b270-41e6-b338-66364d27913f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;You could check this register, field VECTACTIVE:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/Cihfaaha.html"&gt;http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/Cihfaaha.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>