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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-10-09T16:45:57+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-10-09T16:45:57+02:00</updated>

		<published>2008-10-09T16:45:57+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1772&amp;p=6388#p6388</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1772&amp;p=6388#p6388"/>
		<title type="html"><![CDATA[How to switch an Output on when device is registered?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1772&amp;p=6388#p6388"><![CDATA[
Look at the global variable usbConfiguration. It contains the value of the configuration choosen by the host. However, it is not reset when the device is disconnected.<br /><br />To find out whether your device is disconnected, connect INT0 to D- instead of D+, define USB_COUNT_SOF to 1 and check whether usbSofCount increments. That's the same algorithm as used for suspend mode. See <!-- m --><a class="postlink" href="http://avrusb.wikidot.com/examples">http://avrusb.wikidot.com/examples</a><!-- m --> (end of page) for details.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Oct 09, 2008 4:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tauruz]]></name></author>
		<updated>2008-10-03T22:46:58+02:00</updated>

		<published>2008-10-03T22:46:58+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1772&amp;p=6346#p6346</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1772&amp;p=6346#p6346"/>
		<title type="html"><![CDATA[How to switch an Output on when device is registered?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1772&amp;p=6346#p6346"><![CDATA[
Hi there,<br /><br />is it possible to switch an Output to High- State only when the avr-usb is succesfully registered at the Host- System?<br /><br />I just want to use AvrUsb as USB to Rs232- Converter but the whole Circuit should be powered by USB-BUS at its consumption will be around 400mA, so i want to switch on/off the rest of the circuit with succesfull bus registration.<br /><br />i wand to do that because i have read that the power consumption of bus slaves should be only 100mA when not registered (max 100mA) and only if succesfull registered it can go up to 500mA.<br /><br />Sorry for my bad english, im from germany... <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":-)" title="Smile" /><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1385">tauruz</a> — Fri Oct 03, 2008 10:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
