<?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>Meaning of the built in functions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8780/meaning-of-the-built-in-functions</link><description>Hi, where can I get access to the definition and meaning and definition of the built in functions and headers of nrf51822? for instance what does this mean: uint8_t err_code = NRF_SUCCESS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Aug 2015 14:22:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8780/meaning-of-the-built-in-functions" /><item><title>RE: Meaning of the built in functions</title><link>https://devzone.nordicsemi.com/thread/32214?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2015 14:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea7e078e-d2f8-4946-90f2-8eae0774b524</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi.
You can search in our &lt;a href="http://infocenter.nordicsemi.com/index.jsp"&gt;documentation page&lt;/a&gt;.
This page can by found under &amp;quot;Documentation&amp;quot; on nordicsemi.com, or under &amp;quot;SDK and Documentation&amp;quot; on the top of the Devzone page.&lt;/p&gt;
&lt;p&gt;The error codes are for example described &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/group__sdk__error.html?cp=4_1_0_6_7_19"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Depending on your IDE (Code/project editor), you can look up definitions directly.
In Keil you can right click and choose &amp;quot;Go to definition&amp;quot;, or press F12 while marking the variable or function you are interested in.&lt;/p&gt;
&lt;p&gt;As Hung mentioned, NRF_SUCCESS represents that an operation executed successfully. The err_code variable is used to store return codes from various functions in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Meaning of the built in functions</title><link>https://devzone.nordicsemi.com/thread/32213?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2015 12:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eb1cf16-be55-4078-9cea-6bc6c252ed4a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Ramin: Please give more information in your question. I don&amp;#39;t know what you are asking about.
The definition, and assignment of init value &amp;quot;uint8_t err_code = NRF_SUCCESS&amp;quot; is just to make sure err_code is created with value = 0 (NRF_SUCCESS) so that if it&amp;#39;s not used then it will not cause any assertion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>