<?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>Kinetis MicrocontrollersのトピックRe: audio_endpoint_data, hid_endpoint_data suggestion</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350611#M17296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thank you very much for your focus on Freescale Kinetis product. I'd glad to provide service for you.&lt;/P&gt;&lt;P&gt;Firstly, I appreciate your suggestion a lot, and I was wondering if you could share the more information about it, such as the specific codes.&lt;/P&gt;&lt;P&gt;Then I can report this to USB AE team for checking.&lt;/P&gt;&lt;P&gt;Thanks for your cooperation in advance.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 02:21:08 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2015-03-04T02:21:08Z</dc:date>
    <item>
      <title>audio_endpoint_data, hid_endpoint_data suggestion</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350610#M17295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the 5.0 Beta stack, the usb_audio device class defines an audio_endpoint_data structure as part of the audio_device_struct, and the usb_hid class defines a hid_endpoint structure as part of the hid_device_struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Down inside them we find audio_endpoint_struct and hid_endpoint_struct definitions.&amp;nbsp; Currently, part of these structs are guarded by conditional compilation on whether queuing is enabled for the device class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon inspection of the device class driver code, it in fact appears that the entirety of the audio_endpoint_data and hid_endpoint_data are actually only used if queuing is enabled.&amp;nbsp; To reduce memory usage, and code, for non-queuing apps, all of the *_endpoint_data stuff should probably be guarded on the queuing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 20:05:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350610#M17295</guid>
      <dc:creator>johnstrohm</dc:creator>
      <dc:date>2015-03-02T20:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: audio_endpoint_data, hid_endpoint_data suggestion</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350611#M17296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thank you very much for your focus on Freescale Kinetis product. I'd glad to provide service for you.&lt;/P&gt;&lt;P&gt;Firstly, I appreciate your suggestion a lot, and I was wondering if you could share the more information about it, such as the specific codes.&lt;/P&gt;&lt;P&gt;Then I can report this to USB AE team for checking.&lt;/P&gt;&lt;P&gt;Thanks for your cooperation in advance.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 02:21:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350611#M17296</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-03-04T02:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: audio_endpoint_data, hid_endpoint_data suggestion</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350612#M17297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In c:/Freescale_BM_USB_Stack_v5.0/Src/usb_core/device/sources/classes/audio/usb_audio.c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lines 107-144, 174-211, and 1803-1839 are the places where audio_endpoint_data is used.&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; Observe that it is ONLY used inside code that is guarded with #if AUDIO_IMPLEMENT_QUEUING/#endif pairs.&lt;/SPAN&gt;&amp;nbsp; Lines 325-331 are where it is set.&amp;nbsp; (I reported the use of &lt;SPAN style="font-size: 13.3333330154419px;"&gt;HID_IMPLEMENT_QUEUING in those lines, instead of AUDIO_IMPLEMENT_QUEUING, in a separate topic.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;That the data is used ONLY inside those guards indicates that all of the code that sets the data can also be guarded, and also the lines that declare that data, in usb_audio.h, at lines 133-150 and line 179.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &lt;SPAN style="font-size: 13.3333330154419px;"&gt;c:/Freescale_BM_USB_Stack_v5.0/Src/usb_core/device/sources/classes/hid/usb_hid.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Lines 148-168 and 633-656 are the places where hid_endpoint_data is used.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; (There is some commented-out code to deallocate the hid_endpoint_data, left over from when it was malloc()'ed.)&amp;nbsp; Observe that it is ONLY used inside code that is guarded with #if HID_IMPLEMENT_QUEUING/#endif pairs.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; Lines 230-239, 255-264, and 288-296 are where it is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;That the data is used ONLY inside those guards indicates that all of the code that sets the data can also be guarded, and also the lines that declare that data, in usb_hid.h, at lines 85-101 and line 114.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 16:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350612#M17297</guid>
      <dc:creator>johnstrohm</dc:creator>
      <dc:date>2015-03-04T16:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: audio_endpoint_data, hid_endpoint_data suggestion</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350613#M17298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thanks the information you provided and I really appreciate a lot.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 03:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/audio-endpoint-data-hid-endpoint-data-suggestion/m-p/350613#M17298</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-03-05T03:36:27Z</dc:date>
    </item>
  </channel>
</rss>

