<?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 does mask and &amp;quot;1 &amp;lt;&amp;lt;&amp;quot; mean!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23116/what-does-mask-and-1-mean</link><description>What does mask and 1&amp;lt;&amp;lt; mean in the following code: 
 #define BSP_LED_0_MASK (1&amp;lt;&amp;lt;BSP_LED_0)
#define BSP_LED_1_MASK (1&amp;lt;&amp;lt;BSP_LED_1)
#define BSP_LED_2_MASK (1&amp;lt;&amp;lt;BSP_LED_2)
#define BSP_LED_3_MASK (1&amp;lt;&amp;lt;BSP_LED_3)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jun 2017 08:03:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23116/what-does-mask-and-1-mean" /><item><title>RE: What does mask and "1 &lt;&lt;" mean!</title><link>https://devzone.nordicsemi.com/thread/90946?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 08:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfe63469-579b-4619-ab8d-dca94907e2b0</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Bitwise_operations_in_C#Left_shift_.3C.3C"&gt;en.wikipedia.org/.../Bitwise_operations_in_C&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What does mask and "1 &lt;&lt;" mean!</title><link>https://devzone.nordicsemi.com/thread/90947?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 14:01:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be911bb-45df-43c2-9801-d04fbd5068ce</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;If you don&amp;#39;t know what &lt;code&gt;&amp;lt;&amp;lt;&lt;/code&gt; is doing, you &lt;em&gt;really&lt;/em&gt; need to read a book about the C programming language. This should also explain what a bitmask is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>