Add a new method to the USB host driver interface: getdevinfo. This method will return information about the currently connected device. At present, it only returns the device speed. The speed is needed by the enumeration logic in order to set a credible initial EP0 max packet size
This commit is contained in:
parent
592863ce2b
commit
066b940223
@ -3434,9 +3434,10 @@ extern void up_ledoff(int led);
|
||||
</p>
|
||||
<p>
|
||||
<b>Examples</b>:
|
||||
<code>arch/arm/src/lpc17xx/lpc17_usbhost.c</code>.
|
||||
<code>arch/arm/src/stm32/stm32_otgfshost.c</code>.
|
||||
<code>arch/arm/src/sama5/sam_ohci.c</code>.
|
||||
<code>arch/arm/src/lpc17xx/lpc17_usbhost.c</code>,
|
||||
<code>arch/arm/src/stm32/stm32_otgfshost.c</code>,
|
||||
<code>arch/arm/src/sama5/sam_ohci.c</code>, and
|
||||
<code>arch/arm/src/sama5/sam_ehci.c</code>.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user