<?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 to configure a timer in counter mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17526/how-to-configure-a-timer-in-counter-mode</link><description>I&amp;#39;m unable to get any example code to test the timer in counter mode, I see the data sheet and trying to enable, but its not working can any one suggest me how to start the timer in counter mode and it should count pulses from gpiote event.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Apr 2018 10:28:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17526/how-to-configure-a-timer-in-counter-mode" /><item><title>RE: How to configure a timer in counter mode.</title><link>https://devzone.nordicsemi.com/thread/129318?ContentTypeID=1</link><pubDate>Mon, 23 Apr 2018 10:28:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89038d45-4a1d-45fa-b3f9-4f2725ba7cc2</guid><dc:creator>nabil</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;Can you please send me the code to start a timer as a counter:&lt;/p&gt;
&lt;p&gt;nabil_abdoun@hotmail.com&lt;/p&gt;
&lt;p&gt;Thank you&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure a timer in counter mode.</title><link>https://devzone.nordicsemi.com/thread/67390?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2016 10:20:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f16e993b-ce39-481a-bb0a-84117f5ddf42</guid><dc:creator>Pavan kumar</dc:creator><description>&lt;p&gt;Finally I found the issue, nrf_drv_timer_init() only initializes but didn&amp;#39;t starts that is the reason why when I read the count values it always shows 0. We need to call nrf_drv_timer_enable() to start the timer/counter, After calling this function my function works well and counting the pulses now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure a timer in counter mode.</title><link>https://devzone.nordicsemi.com/thread/67389?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 12:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58dc7e2f-7aab-40b9-8832-befe17bad6a0</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I would recommend you to use &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.0.0%2Fgroup__nrf__drv__timer.html&amp;amp;cp=4_0_0_6_6_21_1"&gt;the timer driver&lt;/a&gt;, nrf_drv_timer, to use the counter mode. In addition, you can have a look at &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.0.0%2Fnrf_dev_timer_example.html&amp;amp;cp=4_0_0_4_5_35"&gt;the timer example&lt;/a&gt; in the SDK to see how nrf_drv_timer can be used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>