<?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/11057" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2017-10-08T19:10:04+02:00</updated>

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

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2017-10-08T19:10:04+02:00</updated>

		<published>2017-10-08T19:10:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33119#p33119</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33119#p33119"/>
		<title type="html"><![CDATA[Re: Using Pin change interrupt instead of INT0]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33119#p33119"><![CDATA[
I find this rather interesting, could anyone explain the advantages/disadvantages or reason for wanting to do so?  I'm thinking it would allow the device to sync to the usb poll better but not sure I follow the intention.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Sun Oct 08, 2017 7:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[horo]]></name></author>
		<updated>2017-10-03T20:40:06+02:00</updated>

		<published>2017-10-03T20:40:06+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33104#p33104</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33104#p33104"/>
		<title type="html"><![CDATA[Re: Using Pin change interrupt instead of INT0]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33104#p33104"><![CDATA[
Yes, you can do so. I did it for an ATtiny85, have a look at my project <a href="https://forums.obdev.at/viewtopic.php?f=8&amp;t=1352&amp;p=32124&amp;sid=161838c6e1013ba943522f6904353891#p32118" class="postlink">here in the forum</a>.<br />You have to define it in the file usbconfig.h<br /><br /><div class="codebox"><p>Code: </p><pre><code>...<br />/* ----------------------- Optional MCU Description ------------------------ */<br /><br />/* The following configurations have working defaults in usbdrv.h. You<br /> * usually don't need to set them explicitly. Only if you want to run<br /> * the driver on a device which is not yet supported or with a compiler<br /> * which is not fully supported (such as IAR C) or if you use a differnt<br /> * interrupt than INT0, you may have to define some of these.<br /> */<br />#define USB_INTR_CFG            PCMSK<br />#define USB_INTR_CFG_SET        (1 &lt;&lt; USB_CFG_DPLUS_BIT)<br />#define USB_INTR_CFG_CLR        0<br />#define USB_INTR_ENABLE         GIMSK<br />#define USB_INTR_ENABLE_BIT     PCIE<br />#define USB_INTR_PENDING        GIFR<br />#define USB_INTR_PENDING_BIT    PCIF<br />#define USB_INTR_VECTOR         PCINT0_vect<br /></code></pre></div><br /><br />Ciao, Martin<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=891">horo</a> — Tue Oct 03, 2017 8:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewbeeV-USB]]></name></author>
		<updated>2017-10-03T12:14:31+02:00</updated>

		<published>2017-10-03T12:14:31+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33103#p33103</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33103#p33103"/>
		<title type="html"><![CDATA[Using Pin change interrupt instead of INT0]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=11057&amp;p=33103#p33103"><![CDATA[
Can I use pin change interrupt available in ATmega328p to connect to vusb instead of INT0 to connect to D+.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=22940">NewbeeV-USB</a> — Tue Oct 03, 2017 12:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
