<?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>What is the use of the OUT register of GPIO in nRF52?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8696/what-is-the-use-of-the-out-register-of-gpio-in-nrf52</link><description>In the very first blinky example from the nRF52_SDK_0.9.1: 
 #include &amp;quot;stdint.h&amp;quot; 
 #include &amp;quot;stdint.h&amp;quot; 
 #include &amp;quot;nrf_delay.h&amp;quot; 
 #include &amp;quot;nrf_gpio.h&amp;quot; 
 #include &amp;quot;boards.h&amp;quot; 
 #include &amp;quot;nrf.h&amp;quot; 

const uint8_t leds_list[LEDS_NUMBER] = LEDS_LIST;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jan 2016 21:37:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8696/what-is-the-use-of-the-out-register-of-gpio-in-nrf52" /><item><title>RE: What is the use of the OUT register of GPIO in nRF52?</title><link>https://devzone.nordicsemi.com/thread/31885?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2016 21:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7637e514-68b2-40f9-ba4f-dc0badc072e6</guid><dc:creator>bvuong87</dc:creator><description>&lt;p&gt;Sowmya, LEDS_LIST and LEDS_NUMBER are defined in the pca10036.h file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the use of the OUT register of GPIO in nRF52?</title><link>https://devzone.nordicsemi.com/thread/31884?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2015 13:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcc8c303-e9cf-4af6-9fd9-23a7946bad00</guid><dc:creator>sowmya</dc:creator><description>&lt;p&gt;Hi Ljyun, Where can we find the definition of LEDS_LIST and declaration of LEDS_NUMBER?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the use of the OUT register of GPIO in nRF52?</title><link>https://devzone.nordicsemi.com/thread/31883?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2015 16:31:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6390f496-34f7-4c14-9747-ff11f84b5001</guid><dc:creator>ljyun1989</dc:creator><description>&lt;p&gt;Thank you so much. It helps me a lot. It&amp;#39;s my first time to ask question here. So... XD
I will do that next time. Thanks both of you again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the use of the OUT register of GPIO in nRF52?</title><link>https://devzone.nordicsemi.com/thread/31882?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2015 11:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c37373b-917f-4dfd-ae63-dcf6075934ac</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;One more comment, the OUT register can also be used to write to the GPIO pins. However, it&amp;#39;s better to use the *SET and *CLR register because writing to OUT affect all the pins, when with *SET AND *CLR we can choose the pin(s) to modify without touching the others.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the use of the OUT register of GPIO in nRF52?</title><link>https://devzone.nordicsemi.com/thread/31881?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2015 00:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ba658d4-8b47-442b-ac2e-acf3d22c077f</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;The OUTSET and OUTCLR change the values in the OUT register of GPIO. This is a standard pattern repeated all over the nrf51 and nrf52 series, an xxx, an xxxSET and an xxxCLR register to read/write, set and clear bits in the &amp;#39;xxx&amp;#39; register. this is documented very well in the nRF51 series reference guide.&lt;/p&gt;
&lt;p&gt;Please when you post code use the &amp;#39;post code&amp;#39; button, otherwise the message is very hard to read.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>