<?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 can i get time stamp from RTC1 timer? While i am using app_timer + Softdevice?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12312/how-can-i-get-time-stamp-from-rtc1-timer-while-i-am-using-app_timer-softdevice</link><description>Hi, 
 How can i get time stamp from RTC1 timer? While i am using app_timer + Softdevice?
Or any other way
Thanks and Regards,just to get timestamps from timer?
Faizan.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Mar 2016 14:33:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12312/how-can-i-get-time-stamp-from-rtc1-timer-while-i-am-using-app_timer-softdevice" /><item><title>RE: How can i get time stamp from RTC1 timer? While i am using app_timer + Softdevice?</title><link>https://devzone.nordicsemi.com/thread/46579?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 14:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:699219cd-c5b1-4ab3-b3f4-001c63a7e418</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;If you are using SDK version 10 or greater you have to use &lt;code&gt;APP_TIMER_DEF()&lt;/code&gt;. If you look at the definition you will see that it creates two variables, not only one. The &amp;quot;hidden&amp;quot; variable is internal and you need not think about it when using the application timer API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get time stamp from RTC1 timer? While i am using app_timer + Softdevice?</title><link>https://devzone.nordicsemi.com/thread/46578?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 14:26:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60374b58-a781-430e-ab0e-0f3d9cd35d42</guid><dc:creator>Faizan</dc:creator><description>&lt;p&gt;typedef app_timer_t * 	app_timer_id_t
Timer ID type. Never declare a variable of this type, but use the macro APP_TIMER_DEF instead.&lt;/p&gt;
&lt;p&gt;Why should i not declare a variable of this type??? Where as APP_TIMER_DEF is doing the same thing???&lt;/p&gt;
&lt;p&gt;May be i understood it wrong. Please correct me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i get time stamp from RTC1 timer? While i am using app_timer + Softdevice?</title><link>https://devzone.nordicsemi.com/thread/46577?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 12:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:274652bc-25bc-4a1d-889d-be6cf7eea73a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;When using app_timer you can read the counter value of RTC1 using &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/group__app__timer.html?cp=4_0_0_6_6_21_16#ga497a82797a160ef7f13f8aa26c637018"&gt;&lt;code&gt;app_timer_cnt_get()&lt;/code&gt;&lt;/a&gt;. This simply gives you the register value, as it returns &lt;code&gt;NRF_RTC1-&amp;gt;COUNTER&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>