From 65fd5859a42ee21f843e6ad1326564afb74be29e Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Mon, 8 Apr 2019 17:09:50 +0200 Subject: [PATCH] include: usb: add FS MPS for different endpoint types Add full speed maximum packet size for different endpoint types. Signed-off-by: Johann Fischer --- include/usb/usb_device.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/usb/usb_device.h b/include/usb/usb_device.h index f309804b4a3..fe405c65256 100644 --- a/include/usb/usb_device.h +++ b/include/usb/usb_device.h @@ -73,6 +73,9 @@ extern "C" { **************************************************************************/ #define USB_MAX_CTRL_MPS 64 /**< maximum packet size (MPS) for EP 0 */ +#define USB_MAX_FS_BULK_MPS 64 /**< full speed MPS for bulk EP */ +#define USB_MAX_FS_INT_MPS 64 /**< full speed MPS for interrupt EP */ +#define USB_MAX_FS_ISO_MPS 1023 /**< full speed MPS for isochronous EP */ /************************************************************************* * USB application interface