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
Diff: USBSerial/USBCDC.h
- Revision:
- 19:fcb63a105965
- Parent:
- 15:849c0c0f2769
- Child:
- 25:7c72828865f3
--- a/USBSerial/USBCDC.h Tue Feb 18 11:00:19 2014 +0000 +++ b/USBSerial/USBCDC.h Thu Feb 20 11:15:58 2014 +0000 @@ -35,8 +35,9 @@ * @param vendor_id Your vendor_id * @param product_id Your product_id * @param product_release Your preoduct_release + * @param connect_blocking define if the connection must be blocked if USB not plugged in */ - USBCDC(uint16_t vendor_id, uint16_t product_id, uint16_t product_release); + USBCDC(uint16_t vendor_id, uint16_t product_id, uint16_t product_release, bool connect_blocking); protected: