<?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>how call value of timer and print with SEGGER_RTT_printf()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39509/how-call-value-of-timer-and-print-with-segger_rtt_printf</link><description>hi, my name is tyto I just learned programming about nrf52832, before I used to work with Arduino, after trying to learn nrf52832, it turned out to be very difficult for me to understand the example program in the Nordic SDK. 
 I am trying a timer, in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Oct 2018 17:03:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39509/how-call-value-of-timer-and-print-with-segger_rtt_printf" /><item><title>RE: how call value of timer and print with SEGGER_RTT_printf()</title><link>https://devzone.nordicsemi.com/thread/153518?ContentTypeID=1</link><pubDate>Thu, 18 Oct 2018 17:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c63affd-e883-46a4-aeab-ff4fc1d40900</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you created and started a timer? You may need a dummy app_timer to run in the background at a long interval (max is 250seconds).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how call value of timer and print with SEGGER_RTT_printf()</title><link>https://devzone.nordicsemi.com/thread/153379?ContentTypeID=1</link><pubDate>Thu, 18 Oct 2018 07:30:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f1bd0d5-8ca4-43aa-b4d8-68e7b001d992</guid><dc:creator>tytomulyono</dc:creator><description>&lt;p&gt;i was try with other sample, and i get value from&amp;nbsp;&lt;span&gt;app_timer_cnt_get() and&amp;nbsp;app_timer_cnt_diff_compute(), but what is the unit of the value.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And the value is static, every time i call, the value is never change&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/get.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how call value of timer and print with SEGGER_RTT_printf()</title><link>https://devzone.nordicsemi.com/thread/153378?ContentTypeID=1</link><pubDate>Thu, 18 Oct 2018 07:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47207ea3-f1fe-49b1-8041-e5079eadf31b</guid><dc:creator>tytomulyono</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/no-conf.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;there is no app_timer_enabled&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how call value of timer and print with SEGGER_RTT_printf()</title><link>https://devzone.nordicsemi.com/thread/153171?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 09:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ef55da8-358b-4203-9c46-957a526b67e4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Typically it needs to be enabled in sdk_config.h (snapshot from random ble example that use app_timer):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-6c40ca4d657147f38cb2eceebab60ec8/pastedimage1539768100943v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how call value of timer and print with SEGGER_RTT_printf()</title><link>https://devzone.nordicsemi.com/thread/153126?ContentTypeID=1</link><pubDate>Wed, 17 Oct 2018 05:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b4d0fdd-edac-4188-b407-2a0266997b5f</guid><dc:creator>tytomulyono</dc:creator><description>&lt;p&gt;hi...&lt;/p&gt;
&lt;p&gt;my app_timer when i try to include the app_timer.h, the function app_timer_cnt_get() is undefined.&lt;/p&gt;
&lt;p&gt;this my screen shoot app_timer.c&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/x.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how call value of timer and print with SEGGER_RTT_printf()</title><link>https://devzone.nordicsemi.com/thread/153050?ContentTypeID=1</link><pubDate>Tue, 16 Oct 2018 12:06:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa018585-9b4f-42f0-9485-183a1044d07f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can check out the app_timer library:&lt;br /&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_timer.html?cp=4_0_0_3_51"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_timer.html?cp=4_0_0_3_51&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can use the&amp;nbsp;&lt;span&gt;app_timer_cnt_get() and&amp;nbsp;app_timer_cnt_diff_compute() to find how much time has elapsed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>