<?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>OUT register in NRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14893/out-register-in-nrf52832</link><description>What is the use of OUT register in NRF52832 data sheet ? It seem OUT register is affected by changing OUTSET and OUTCLR, Can you show with an example ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Jul 2016 06:52:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14893/out-register-in-nrf52832" /><item><title>RE: OUT register in NRF52832</title><link>https://devzone.nordicsemi.com/thread/56860?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 06:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:831f6609-60d9-498b-b16f-83df725be5dd</guid><dc:creator>Leon Woestenberg</dc:creator><description>&lt;p&gt;When you write a value to the OUT register, all bits are changed to the value you write to it, this is what you are expecting from a register-write.&lt;/p&gt;
&lt;p&gt;The OUTSET register allows you to set only a selected set of bits in the OUT register.
The OUTCLR register allows you to clear only a selected set of bits in the OUT register.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;OUT := 0x12345678   =&amp;gt; OUT is now 0x12345678
OUTSET := 0xF0000001 =&amp;gt; OUT is now 0xF2345679
OUTCLR := 0xFFFF0000 =&amp;gt; OUT is now 0x00005679
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>