X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/60fd0ff418566d85224f9841037ba01b77acc0d8..a926053ab55566b30eb83b12c0e32b890db91740:/Projects/XPLAINBridge/XPLAINBridge.h diff --git a/Projects/XPLAINBridge/XPLAINBridge.h b/Projects/XPLAINBridge/XPLAINBridge.h index 543a03e72..877792d7f 100644 --- a/Projects/XPLAINBridge/XPLAINBridge.h +++ b/Projects/XPLAINBridge/XPLAINBridge.h @@ -40,6 +40,7 @@ #include #include #include + #include #include "AVRISPDescriptors.h" #include "USARTDescriptors.h" @@ -69,7 +70,10 @@ /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ #define LEDMASK_BUSY LEDS_LED1 + /** Firmware mode define for the USART Bridge mode. */ #define MODE_USART_BRIDGE false + + /** Firmware mode define for the AVRISP Programmer mode. */ #define MODE_PDI_PROGRAMMER true /* External Variables: */ @@ -82,8 +86,8 @@ void EVENT_USB_Device_ConfigurationChanged(void); void EVENT_USB_Device_UnhandledControlRequest(void); - - void EVENT_CDC_Device_LineEncodingChanged(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo); + void EVENT_USB_Device_Connect(void); + void EVENT_USB_Device_Disconnect(void); uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress);