<?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>Interrupt Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92510/interrupt-zephyr</link><description>Hello, 
 I want to implement the interrupt functionality and based on my understanding I can implement it using GPIO or ISR function. 
 In case of GPIO (APIs here ): 
 
 For ISR function (APIs here ) 
 
 Then, based which features can I use GPIO instead</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Oct 2022 10:31:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92510/interrupt-zephyr" /><item><title>RE: Interrupt Zephyr</title><link>https://devzone.nordicsemi.com/thread/389169?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 10:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cba0dae-a717-4eee-905c-ee4f6cb7f3f0</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;For implementing an interrupt on a button, the GPIO API is usually the best solution, yes.&lt;/p&gt;
&lt;p&gt;This is also how it is done in zephyr/samples/basic/button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt Zephyr</title><link>https://devzone.nordicsemi.com/thread/389114?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 06:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1786089-83ac-4408-8e61-1196812bbbaa</guid><dc:creator>MPDeveloper89</dc:creator><description>&lt;p&gt;Hello Oivind,&lt;/p&gt;
&lt;p&gt;Thank you for reply.&lt;/p&gt;
&lt;p&gt;I already implemented the app where button pushed has to stop and resume the 2nd thread using GPIO APIs.&lt;/p&gt;
&lt;p&gt;So, the API choice is the best solution? What do you think?&lt;/p&gt;
&lt;p&gt;Thank again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt Zephyr</title><link>https://devzone.nordicsemi.com/thread/388990?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 12:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:167e4df1-5b89-43ab-83a3-d5a50fd3382e</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For GPIO interrupts, I would recommend using the gpio_* api, and let the driver handle the rest.&lt;/p&gt;
&lt;p&gt;If there is any specific functionality that you are struggling to implement using the api, let me know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interrupt Zephyr</title><link>https://devzone.nordicsemi.com/thread/388893?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 06:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:044923ed-393a-4494-aea4-060492170083</guid><dc:creator>nRF5xFanboy</dc:creator><description>&lt;p&gt;HI MPDeveloper89,&lt;/p&gt;
&lt;p&gt;You should leave the ISR context as quick as possible by decoupling it.&lt;br /&gt;You can do many things in ISR but some things are&amp;nbsp;not allowed.&lt;br /&gt;The Nordic infocenter is a very good source of information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;nRF5xFanBoy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>