<?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>About how to use button interrupt in NCS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113544/about-how-to-use-button-interrupt-in-ncs</link><description>Hi 
 I want to use button interrupt in NCS. 
 There is no button interrupt enabled in initialization. 
 My test environment:ncs2.6.0,nRF52840DK. 
 
 In nRF5SDK, I only need to add an event in bsp_event_handler. 
 how to use button interrupt in NCS?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Jul 2024 06:35:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113544/about-how-to-use-button-interrupt-in-ncs" /><item><title>RE: About how to use button interrupt in NCS</title><link>https://devzone.nordicsemi.com/thread/496329?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 06:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fac78367-fdca-4961-b2dd-6ad3eb1406e5</guid><dc:creator>kenlove</dc:creator><description>&lt;p&gt;&lt;span&gt;I just didn&amp;#39;t understand this handle in the previous test.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About how to use button interrupt in NCS</title><link>https://devzone.nordicsemi.com/thread/496327?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2024 06:35:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3177fc18-a9b0-4c36-a57c-efc2617932c9</guid><dc:creator>kenlove</dc:creator><description>&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The problem has been solved.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;The button_changed function can be used.&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>