include: usb_ch9: add note about USB_CONTROL_EP_MPS

This value may not be correct for devices operating at speeds other than
high speed.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2024-09-30 13:35:23 +02:00 committed by Fabio Baltieri
parent f5a3f90a68
commit 35c9e54961
1 changed files with 6 additions and 1 deletions

View File

@ -283,7 +283,12 @@ struct usb_association_descriptor {
/** Macro to obtain descriptor index from USB_SREQ_GET_DESCRIPTOR request */
#define USB_GET_DESCRIPTOR_INDEX(wValue) ((uint8_t)(wValue))
/** USB Control Endpoints maximum packet size (MPS) */
/**
* USB Control Endpoints maximum packet size (MPS)
*
* This value may not be correct for devices operating at speeds other than
* high speed.
*/
#define USB_CONTROL_EP_MPS 64U
/** USB endpoint direction mask */