<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Which event will occur if the usb device is disconnected in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Which-event-will-occur-if-the-usb-device-is-disconnected/m-p/518435#M2669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Daniel Widyanto on Wed Nov 07 23:05:28 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Refer to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=ftp%3A%2F%2Fftp.compaq.com%2Fpub%2Fsupportinformation%2Fpapers%2Fhcir1_0a.pdf" rel="nofollow" target="_blank"&gt;ftp://ftp.compaq.com/pub/supportinformation/papers/hcir1_0a.pdf&lt;/A&gt;&lt;SPAN&gt; for OHCI / LPC17xx USB host registers documentation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To cut short: HcInterruptStatus, bit RootHubStatusChange will be set. Then in HcRhPortStatus, bit ConnectStatusChange will be updated for connect / disconnect event. Note that suspend / remote wake-up may also affect RootHubStatusChange&amp;nbsp; status as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Refer to USB Host Lite - LPC17xx implementation for detecting the connection / disconnect event (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fusbhostlite-lpc17xx" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/usbhostlite-lpc17xx&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:33:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:33:26Z</dc:date>
    <item>
      <title>Which event will occur if the usb device is disconnected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Which-event-will-occur-if-the-usb-device-is-disconnected/m-p/518434#M2668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cgha on Tue Nov 06 02:03:37 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to set an endpoint to see if the device is disconnect correctly from the LPC1768 usb host. Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ChrisChen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:33:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Which-event-will-occur-if-the-usb-device-is-disconnected/m-p/518434#M2668</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Which event will occur if the usb device is disconnected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Which-event-will-occur-if-the-usb-device-is-disconnected/m-p/518435#M2669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Daniel Widyanto on Wed Nov 07 23:05:28 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Refer to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=ftp%3A%2F%2Fftp.compaq.com%2Fpub%2Fsupportinformation%2Fpapers%2Fhcir1_0a.pdf" rel="nofollow" target="_blank"&gt;ftp://ftp.compaq.com/pub/supportinformation/papers/hcir1_0a.pdf&lt;/A&gt;&lt;SPAN&gt; for OHCI / LPC17xx USB host registers documentation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To cut short: HcInterruptStatus, bit RootHubStatusChange will be set. Then in HcRhPortStatus, bit ConnectStatusChange will be updated for connect / disconnect event. Note that suspend / remote wake-up may also affect RootHubStatusChange&amp;nbsp; status as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Refer to USB Host Lite - LPC17xx implementation for detecting the connection / disconnect event (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Fusbhostlite-lpc17xx" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/usbhostlite-lpc17xx&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:33:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Which-event-will-occur-if-the-usb-device-is-disconnected/m-p/518435#M2669</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:33:26Z</dc:date>
    </item>
  </channel>
</rss>

