<?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>Where/How are UART interrupt handlers set on nrf52840?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25211/where-how-are-uart-interrupt-handlers-set-on-nrf52840</link><description>SDK Version: 13 Alpha 
 I&amp;#39;ve been able to track down, through app_uart.h, where UART interrupt priorities are set using NVIC_SetPriority(). Now I&amp;#39;d like to know where interrupts are mapped to there associated handler. 
 I have already fruitlessly searched</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Sep 2017 02:29:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25211/where-how-are-uart-interrupt-handlers-set-on-nrf52840" /><item><title>RE: Where/How are UART interrupt handlers set on nrf52840?</title><link>https://devzone.nordicsemi.com/thread/99357?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2017 02:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e0a0e1-3c16-44dd-ae65-b95cc444ab14</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;No it&amp;#39;s not hidden anywhere in any proprietary firmware. It&amp;#39;s standard ARM Cortex interrupt handling.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a vector table starting at 0x00000000 (well that&amp;#39;s actually the stack pointer and the vector table starts at 0x00000004). That&amp;#39;s populated with the xxxIRQHandler symbols which are mostly weakly defined to the same spin forever handler.&lt;/p&gt;
&lt;p&gt;If you define a routine with one of those names, it will be linked in instead and its address will be the one put in the table instead of the do-nothing handler.&lt;/p&gt;
&lt;p&gt;That&amp;#39;s it - that&amp;#39;s all there is. That table is populated in one of the .s files in the tools section of the SDK, depending on what tool you&amp;#39;re using. The interrupt handler names are of course the same in each one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>