<?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>nrf52 GPIO LATCH register</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15734/nrf52-gpio-latch-register</link><description>Hi 
 I want to use nrf52 LATCH register.
I can see the correct bit set in the register, but I am unable to clear this bit.
I have tried NRF_P0-&amp;gt;LATCH =0xFFFFFFFF; for my understanding this should clear all the bits in the LATCH register. 
 Please</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Aug 2016 10:34:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15734/nrf52-gpio-latch-register" /><item><title>RE: nrf52 GPIO LATCH register</title><link>https://devzone.nordicsemi.com/thread/60070?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2016 10:34:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5a41b23-141b-45de-9d68-06fd305f48e1</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;+1 to RK&lt;/p&gt;
&lt;p&gt;quote&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If the CPU performs a clear operation
on a bit in the LATCH register when
the associated PINx.DETECT signal is
high, the bit in the LATCH register
will not be cleared.&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 GPIO LATCH register</title><link>https://devzone.nordicsemi.com/thread/60069?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2016 00:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abf00dc3-35f9-47db-90c8-df1e7c39bb54</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Most likely reason is that the DETECT signal for that GPIO is still asserted, in which case clearing the LATCH will do nothing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>