<?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>Blink questio what are those file do.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19806/blink-questio-what-are-those-file-do</link><description>Hello, I am new to NRF. and actually i dont have other MCU experience, beside adrduino.
my question is not about BLE/BLE+,
it&amp;#39;s more about how to use NRF5283 in keil question. 
 I did comple the blynk example.
and the LEDS does on from 1to4 and, vanished</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Feb 2017 08:23:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19806/blink-questio-what-are-those-file-do" /><item><title>RE: Blink questio what are those file do.</title><link>https://devzone.nordicsemi.com/thread/77027?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 08:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:243b9c52-b8b5-4e53-a8da-f362f69f2f47</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Everything in the SDK is mainly written in embedded C, but assembly can also be used if it is declared with the __ASM or __asm type. For an example of this see the “nrf_delay.h” header file in the blinky project. For more information on this please see ARMs infocenter on the compiler feature.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491e/BABFDCGD.html"&gt;infocenter.arm.com/.../index.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For information on mixing C/C++ and Assembly please see the following link on ARMs infocenter&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0471e/Babjhjbd.html"&gt;infocenter.arm.com/.../index.jsp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blink questio what are those file do.</title><link>https://devzone.nordicsemi.com/thread/77026?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 07:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b220794-f20f-448e-8271-34d61dbff6c7</guid><dc:creator>Louis Lu</dc:creator><description>&lt;p&gt;I dont know if I understand correctly
the Blink project has both    C++  and Assembly written language?
that in C++ i can call to Assembly language functions. vise versa?
is my understanding correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blink questio what are those file do.</title><link>https://devzone.nordicsemi.com/thread/77025?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 07:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:117eccee-4589-4c18-b1ac-e1081f67fd4f</guid><dc:creator>Louis Lu</dc:creator><description>&lt;p&gt;thanks for you kindly answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Blink questio what are those file do.</title><link>https://devzone.nordicsemi.com/thread/77024?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 09:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceda33d7-e890-409d-ae09-0794ff2d3e03</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Louis Lu&lt;/p&gt;
&lt;p&gt;The different files included in your project all contain definitions and functions you can use in your application code. The SDK (software development kit) contains many different “modules” which you can include into your project if you need them.  Each module contain definitions and function calls you can use in your code to use the hardware of the IC’s.&lt;/p&gt;
&lt;p&gt;The idea is that you will only include the modules you need for your project, so if you need to communicate with other IC’s on the board with UART you will add the UART module. If you want to use the ADC, you add the ADC module.&lt;/p&gt;
&lt;p&gt;Modules often come with at least two files. A header file with a .h extension, and a source file with a .c extension. The header file will contain defines and function headers, along with explanations of the functions, its arguments and return values. The source file will contain the actual functions with body and all.&lt;/p&gt;
&lt;p&gt;The files you list do the following.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;“stdbool.h”: Header file which defines the Boolean variable type. This allows you to create variables which can be set to “true” or “false”.&lt;/li&gt;
&lt;li&gt;“stdint.h”: Header file which defines variable types of varying bit-sizes. Such as uint8_t and uint32_t (8-bit unsigned integer and 32-bit unsigned integer).&lt;/li&gt;
&lt;li&gt;“nrf_delay.h”: Header file which contains macros and function headers for delaying execution of next instruction. This file is accompanied by the “nrf_delay.c” source file (See point 6).&lt;/li&gt;
&lt;li&gt;“nrf_gpio”: Header file, contains defines for the “General purpose in/out” (GPIO) of the chip. This allows you to configure and manipulate the IC’s pins.&lt;/li&gt;
&lt;li&gt;“boards.h”: Header file which contain defines for the specific development kit you are using. As well as function headers for manipulating the leds, buttons on the board. This file is accompanied by the “boards.c” source file which contain the actual function definitions.&lt;/li&gt;
&lt;li&gt;nrf_delay.c: Source file which contains definition of function nrf_delay_ms. Accompanied by the “nrf_delay.h” header file. (see point 3).&lt;/li&gt;
&lt;li&gt;“Compile_abstraction.h”: Header file which contains wrapping for compiler functions.&lt;/li&gt;
&lt;li&gt;“system_nrf52.c”: Source file which contains functions for initializing system clocks, system reset, and tracing. Accompanied by the “system_nrf52.h” header file.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In the main.c file only stdbool.h, stdint.h, nrf_delay.h, nrf_gpio.h and boards.h are included. These files, and their source files, then include other files which they are dependent on. That is why you can see a large number of files attached to your project, even though you only include a few of them in main.&lt;/p&gt;
&lt;p&gt;Information on the different modules can also be found under the Software Development Kit chapter on Nordic Infocenter. &lt;a href="http://infocenter.nordicsemi.com/index.jsp"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>