<?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>Tell if timer is running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12389/tell-if-timer-is-running</link><description>Is there a way to tell if the timer is running? There&amp;#39;s a start task, and a stop task, but I&amp;#39;m not sure how to tell if a timer is currently running. The best thing I can think of is to capture the value, wait a little while, capture the value again, and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Mar 2016 14:54:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12389/tell-if-timer-is-running" /><item><title>RE: Tell if timer is running</title><link>https://devzone.nordicsemi.com/thread/46842?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2016 14:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5064f12-807f-43f8-b4b9-fdeb8b7cd5a0</guid><dc:creator>Nikolaus Wittenstein</dc:creator><description>&lt;p&gt;Yeah, I can turn the timer off with the LPCOMP. What I was curious about is if there&amp;#39;s a way to tell if this has happened. I can&amp;#39;t use an interrupt because the idea is this is guarding the PWM during Bluetooth transactions.&lt;/p&gt;
&lt;p&gt;Right now my workaround is to also enable a channel group with the LPCOMP, and then I can just check whether the channel in question has been enabled. Sort of wonky but it seems to work. All my timers are already in use so I can&amp;#39;t increment a counter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tell if timer is running</title><link>https://devzone.nordicsemi.com/thread/46841?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2016 08:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:130e2f8e-ad5e-496e-9772-f4eb76901ceb</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I would assume you could use the upward crossing event, NRF_LPCOMP-&amp;gt;EVENTS_UP, and hook it straight to your timer&amp;#39;s stop task, NRF_TIMERx-&amp;gt;TASKS_STOP? You could also use the LPCOMP interrupts if you want to stop your timer in software.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tell if timer is running</title><link>https://devzone.nordicsemi.com/thread/46840?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2016 15:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a16a9037-bd02-474d-89bf-f775c2274818</guid><dc:creator>Nikolaus Wittenstein</dc:creator><description>&lt;p&gt;The reason my application won&amp;#39;t know is that I&amp;#39;m using LPCOMP and PPI to stop the timer when a (transient) voltage goes high. Is there a way to know that this triggering has happened?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tell if timer is running</title><link>https://devzone.nordicsemi.com/thread/46839?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2016 11:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b31738e-fbef-4b8d-9364-1bd789a9fac3</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I can&amp;#39;t think of any other way than what you describe. Shouldn&amp;#39;t your application know this anyway? After all your application should control when the timer is started and stopped.&lt;/p&gt;
&lt;p&gt;Regarding PPI you can read out the CHEN register.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tell if timer is running</title><link>https://devzone.nordicsemi.com/thread/46838?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2016 21:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:daab3735-73fe-47a3-9126-001e7c857d31</guid><dc:creator>Nikolaus Wittenstein</dc:creator><description>&lt;p&gt;Similarly, is there a way to tell if a PPI group is enabled? I only see a way to enable and disable it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>