<?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 Critical code snippet for example:dev_hid_generic_lite_bm in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Critical-code-snippet-for-example-dev-hid-generic-lite-bm/m-p/2035231#M57595</link>
    <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;I installed SDK for LPC5516 and imported the example of "dev_hid_generic_lite_bm" into my MCUXpresso IDE;after reading some documents, I learned that if the host send anything to it,it will send same the thing back to the host PC,but i failed to locate the right code snippet of loop-back;&lt;/P&gt;&lt;P&gt;Could you kindly advise where can i find the right code for this? i would like to take&amp;nbsp;it as a starting point.&lt;/P&gt;&lt;P&gt;there have been quite a few files i can not get myself familiar with,such as:&lt;/P&gt;&lt;P&gt;usb_device_dci.c&lt;/P&gt;&lt;P&gt;usb_device_lpcip3511.c&lt;/P&gt;&lt;P&gt;........................................................&lt;/P&gt;&lt;P&gt;where can i get documents explaining for usage of those files?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;uzslm&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 17:41:50 GMT</pubDate>
    <dc:creator>uzslm</dc:creator>
    <dc:date>2025-01-28T17:41:50Z</dc:date>
    <item>
      <title>Critical code snippet for example:dev_hid_generic_lite_bm</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Critical-code-snippet-for-example-dev-hid-generic-lite-bm/m-p/2035231#M57595</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;I installed SDK for LPC5516 and imported the example of "dev_hid_generic_lite_bm" into my MCUXpresso IDE;after reading some documents, I learned that if the host send anything to it,it will send same the thing back to the host PC,but i failed to locate the right code snippet of loop-back;&lt;/P&gt;&lt;P&gt;Could you kindly advise where can i find the right code for this? i would like to take&amp;nbsp;it as a starting point.&lt;/P&gt;&lt;P&gt;there have been quite a few files i can not get myself familiar with,such as:&lt;/P&gt;&lt;P&gt;usb_device_dci.c&lt;/P&gt;&lt;P&gt;usb_device_lpcip3511.c&lt;/P&gt;&lt;P&gt;........................................................&lt;/P&gt;&lt;P&gt;where can i get documents explaining for usage of those files?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;uzslm&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 17:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Critical-code-snippet-for-example-dev-hid-generic-lite-bm/m-p/2035231#M57595</guid>
      <dc:creator>uzslm</dc:creator>
      <dc:date>2025-01-28T17:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Critical code snippet for example:dev_hid_generic_lite_bm</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Critical-code-snippet-for-example-dev-hid-generic-lite-bm/m-p/2039675#M57642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236878"&gt;@uzslm&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This loop back is implemented through interrupts.&lt;/P&gt;
&lt;P&gt;You can check this code.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;void USB0_IRQHandler(void)
{
    USB_DeviceLpcIp3511IsrFunction(g_UsbDeviceHidGeneric.deviceHandle);
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;usb_device_dci.c&amp;nbsp;&lt;SPAN&gt;is the Device Controller Interface file that abstracts hardware operations for the USB driver.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;usb_device_lpcip3511.c&lt;BR /&gt;This file implements the LPC USB IP3511 controller driver (low-level communication between MCU and USB hardware).&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 03:32:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Critical-code-snippet-for-example-dev-hid-generic-lite-bm/m-p/2039675#M57642</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-02-07T03:32:34Z</dc:date>
    </item>
  </channel>
</rss>

