mirror of
https://github.com/STMicroelectronics/stm32-mw-usb-device.git
synced 2026-02-09 04:25:36 -05:00
Release v2.11.4
This commit is contained in:
@@ -79,10 +79,12 @@ extern "C" {
|
||||
#define USBD_CUSTOMHID_OUTREPORT_BUF_SIZE 0x02U
|
||||
#define USBD_CUSTOM_HID_REPORT_DESC_SIZE 163U
|
||||
|
||||
/* #define USBD_CUSTOMHID_REPORT_DESC_SIZE_ENABLED */
|
||||
/* #define USBD_CUSTOMHID_CTRL_REQ_GET_REPORT_ENABLED */
|
||||
/* #define USBD_CUSTOMHID_OUT_PREPARE_RECEIVE_DISABLED */
|
||||
/* #define USBD_CUSTOMHID_EP0_OUT_PREPARE_RECEIVE_DISABLED */
|
||||
/* #define USBD_CUSTOMHID_CTRL_REQ_COMPLETE_CALLBACK_ENABLED */
|
||||
/* #define USBD_CUSTOMHID_REPORT_BUFFER_EVENT_ENABLED */
|
||||
|
||||
/* VIDEO Class Config */
|
||||
#define UVC_1_1 /* #define UVC_1_0 */
|
||||
|
||||
@@ -305,12 +305,13 @@ typedef struct
|
||||
/* USB Device handle structure */
|
||||
typedef struct
|
||||
{
|
||||
uint32_t status;
|
||||
uint32_t total_length;
|
||||
uint32_t rem_length;
|
||||
uint32_t maxpacket;
|
||||
uint16_t is_used;
|
||||
uint16_t bInterval;
|
||||
uint32_t bInterval;
|
||||
uint16_t maxpacket;
|
||||
uint8_t status;
|
||||
uint8_t is_used;
|
||||
uint8_t *pbuffer;
|
||||
} USBD_EndpointTypeDef;
|
||||
|
||||
#ifdef USE_USBD_COMPOSITE
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
/*
|
||||
* User to provide a unique ID to define the USB device serial number
|
||||
* The use of UID_BASE register can be considered as an example
|
||||
*/
|
||||
#define DEVICE_ID1 (UID_BASE)
|
||||
#define DEVICE_ID2 (UID_BASE + 0x4U)
|
||||
#define DEVICE_ID3 (UID_BASE + 0x8U)
|
||||
|
||||
Reference in New Issue
Block a user