<?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>unhandled events</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18882/unhandled-events</link><description>I have set up ble_app_uart along with gpiote and spi. When I first trigger the GPIOTE event the MCU is supposed to go to sleep after, but it seems to keep running in the main loop, surpassing the power_manage(); function.. 
 I think this is because of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jan 2017 14:04:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18882/unhandled-events" /><item><title>RE: unhandled events</title><link>https://devzone.nordicsemi.com/thread/72958?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2017 14:04:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:846f3f57-8697-4551-b478-62cec6224883</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You can use the &lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Cihjjifh.html"&gt;NVIC-&amp;gt;ISPR&lt;/a&gt;[x] registers to check if there are any pending interrupts that blocks the CPU from entering sleep. There is also the NVIC_GetPendingIRQ() function included in CMSIS core to check individual IRQs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>