<?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>GPIOTE input event – how to change polarity at runtime</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55389/gpiote-input-event-how-to-change-polarity-at-runtime</link><description>Let say during the normal program flow I want to change often the edge direction which will trigger the event: rising edge, none, falling edge, none … Can I work direct with registers for CONFIG[n].POLARITY or do I need on every change to call nrf*_gpiote_in_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Dec 2019 09:18:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55389/gpiote-input-event-how-to-change-polarity-at-runtime" /><item><title>RE: GPIOTE input event – how to change polarity at runtime</title><link>https://devzone.nordicsemi.com/thread/224349?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 09:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0aae4fe-172c-452b-986c-0fd5a9e750f9</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If I were you, I would not mix driver (which remembers states) functionality and trying to access those registers directly. This would confuse the driver very much and I am pretty sure that the outcome is unpredictable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>