mirror of
https://github.com/ArteryTek/AT32F415_Firmware_Library.git
synced 2026-05-21 01:12:20 +00:00
update version to v2.1.2
This commit is contained in:
@@ -105,6 +105,7 @@ extern "C" {
|
||||
#define USB_SERIAL_STRING 3 /*!< usb standard string type serial */
|
||||
#define USB_CONFIG_STRING 4 /*!< usb standard string type config */
|
||||
#define USB_INTERFACE_STRING 5 /*!< usb standard string type interface */
|
||||
#define USB_WINUSB_OS_STRING 0xEE /*!< usb microsoft os string */
|
||||
|
||||
/**
|
||||
* @brief usb configuration attributes
|
||||
@@ -119,6 +120,12 @@ extern "C" {
|
||||
#define USB_FEATURE_REMOTE_WAKEUP 1 /*!< usb standard feature selectors remote wakeup */
|
||||
#define USB_FEATURE_TEST_MODE 2 /*!< usb standard feature selectors test mode */
|
||||
|
||||
/**
|
||||
* @brief usb winusb feature id
|
||||
*/
|
||||
#define USB_WINUSB_COMPAT_ID 0x04 /*!< usb winusb compat id os descriptor */
|
||||
#define USB_WINUSB_PROPERTIES_ID 0x05 /*!< usb winusb properties id os descriptor */
|
||||
|
||||
/**
|
||||
* @brief usb device connect state
|
||||
*/
|
||||
|
||||
@@ -87,6 +87,11 @@ typedef struct
|
||||
usbd_desc_t *(*get_device_serial_string)(void); /*!< get device serial callback */
|
||||
usbd_desc_t *(*get_device_interface_string)(void); /*!< get device interface string callback */
|
||||
usbd_desc_t *(*get_device_config_string)(void); /*!< get device device config callback */
|
||||
#if (USBD_SUPPORT_WINUSB == 1)
|
||||
usbd_desc_t *(*get_device_winusb_os_string)(void); /*!< get winusb os string */
|
||||
usbd_desc_t *(*get_device_winusb_os_feature)(void); /*!< get winusb os feature */
|
||||
usbd_desc_t *(*get_device_winusb_os_property)(void); /*!< get winusb os property */
|
||||
#endif
|
||||
}usbd_desc_handler;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user