USB Device library for the STM32F103 with USB Device Firmware Upgrade (DFU) runtime support.
Dependents: STM32F103C8T6_WebUSBDFU STM32F103C8T6_USBDFU STM32F103C8T6_USBDFU dfu_usb_stm32f103
Fork of USBDevice_STM32F103 by
USBDFU/WinUSB.h
- Committer:
- devanlai
- Date:
- 2016-11-25
- Revision:
- 70:e410de636542
- Parent:
- 68:c190028858f9
File content as of revision 70:e410de636542:
/* * Copyright 2016 Devan Lai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef WIN_USB_H #define WIN_USB_H /* Microsoft OS 1.0 descriptors */ /* Extended Compat ID OS Feature Descriptor Specification */ #define WINUSB_GET_COMPATIBLE_ID_FEATURE_DESCRIPTOR 0x04 #define WINUSB_GET_EXTENDED_PROPERTIES_OS_FEATURE_DESCRIPTOR 0x05 #define WINUSB_VENDOR_CODE 0x21 #define COMPATIBLE_ID_VERSION_1_0 (0x0100) #endif