<?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 USB ROM Driver - Detect Attach and Removal in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-Detect-Attach-and-Removal/m-p/572834#M18659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emh203 on Wed Nov 19 12:28:36 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a clean way to determine when a USB device is attached or removed with the USB rom drivers?&amp;nbsp;&amp;nbsp; I am currently using MSC.&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to be able detect when the enumeration process is complete and when the device is disconnected to be able to provide some mutual exclusion when accessing the SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The dirty way to do it is monitor VBUS on an IO pin but I was hoping to there was a way through the ROM drivers.&amp;nbsp;&amp;nbsp;&amp;nbsp; I am pretty sure I can get what I want by adding code to a custom interrupt handler but I wanted to see if there were callbacks available for this function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:57:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:57:47Z</dc:date>
    <item>
      <title>USB ROM Driver - Detect Attach and Removal</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-Detect-Attach-and-Removal/m-p/572834#M18659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emh203 on Wed Nov 19 12:28:36 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a clean way to determine when a USB device is attached or removed with the USB rom drivers?&amp;nbsp;&amp;nbsp; I am currently using MSC.&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to be able detect when the enumeration process is complete and when the device is disconnected to be able to provide some mutual exclusion when accessing the SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The dirty way to do it is monitor VBUS on an IO pin but I was hoping to there was a way through the ROM drivers.&amp;nbsp;&amp;nbsp;&amp;nbsp; I am pretty sure I can get what I want by adding code to a custom interrupt handler but I wanted to see if there were callbacks available for this function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/USB-ROM-Driver-Detect-Attach-and-Removal/m-p/572834#M18659</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:57:47Z</dc:date>
    </item>
  </channel>
</rss>

