<?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>Usage of 1UL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44398/usage-of-1ul</link><description>Hello to everyone. 
 I&amp;#180;m trying to understand a code starting from the file of definition of pins of nRF52 PCA10040. In &amp;quot;simple_hal.c&amp;quot; there&amp;#39;s a line like this: NRF_GPIO-&amp;gt;OUTSET = 1UL &amp;lt;&amp;lt; i; in the hall_leds_init() function. To know the complete tasks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Mar 2019 02:52:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44398/usage-of-1ul" /><item><title>RE: Usage of 1UL</title><link>https://devzone.nordicsemi.com/thread/174411?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 02:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:037f058f-8633-42b9-8512-d93c9e62149b</guid><dc:creator>JK0201</dc:creator><description>&lt;p&gt;I see, so in this way, this 1 is compatible with any assignation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Usage of 1UL</title><link>https://devzone.nordicsemi.com/thread/174257?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 13:05:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a992e8-b68d-48c7-b295-0017a9930917</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;1UL just means 1 (unsigned long) and the width of which is architectural specific. Write like this is a good practice if you are writing a code for manipulating contents of registers so that the compilers do what you expect them to do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>