<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/8302" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-06-25T15:38:47+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/8302</id>

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2013-06-25T15:38:47+02:00</updated>

		<published>2013-06-25T15:38:47+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8302&amp;p=25488#p25488</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8302&amp;p=25488#p25488"/>
		<title type="html"><![CDATA[Re: timer polling]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8302&amp;p=25488#p25488"><![CDATA[
I think v-usb just uses the interrupts for timing and the poll depends strictly on the function usbInterruptIsReady.<br /><br /><div class="codebox"><p>Code: </p><pre><code>while (   !usbInterruptIsReady() ) //when not ready you must poll<br />{<br />   usbPoll();<br />}<br />//pulling has stopped tiuem to send<br />usbSetInterrupt( reportBuffer, 8);</code></pre></div><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Tue Jun 25, 2013 3:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[amx]]></name></author>
		<updated>2013-02-22T02:16:40+02:00</updated>

		<published>2013-02-22T02:16:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8302&amp;p=24789#p24789</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8302&amp;p=24789#p24789"/>
		<title type="html"><![CDATA[timer polling]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8302&amp;p=24789#p24789"><![CDATA[
Hello,<br /><br />as I am having some trouble by (probably) not calling usbPoll often enough (50ms max) I arrived at the following question:<br /><strong class="text-strong">Why is it not possible to call &quot;usbPoll&quot; from within a timer interrupt?</strong><br /><br />As christian said elsewhere:<br />&quot;You can't call usbPoll() from a timer interrupt. You must call it from the main code.&quot;<br /><br />Is this because they share some data they both use or are there other reasons?<br /><br />Thanks!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19423">amx</a> — Fri Feb 22, 2013 2:16 am</p><hr />
]]></content>
	</entry>
	</feed>
