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:
- 6:d0945750af57
- Parent:
- 1:80ab0d068708
- Child:
- 15:849c0c0f2769
--- a/USBSerial/USBCDC.h Sun Oct 14 15:08:52 2012 +0000 +++ b/USBSerial/USBCDC.h Thu Dec 20 17:05:37 2012 +0000 @@ -99,9 +99,11 @@ * @returns true if successful */ bool readEP_NB(uint8_t * buffer, uint32_t * size); - + +protected: virtual bool USBCallback_request(); virtual bool USBCallback_setConfiguration(uint8_t configuration); + volatile bool terminal_connected; };